* Change duk_bool_to to duk_small_uint_t from duk_small_int_t. This may
cause some sign warnings in calling code.
* Reject attempt to unpack an array-like value whose length is 2G or over;
previously was not checked explicitly, and the length was cast to duk_idx_t
with a sign change and the unpack would then later fail. Now it fails with
a clean RangeError.
* Add wrap check for Node.js Buffer.concat().
* API DUK_TYPE_xxx, DUK_TYPE_MASK_xxx, flag constants etc are now unsigned.
Scanbuild fixes:
* duk_cmdline.c realloc() failure could leak memory, fixed.
* Other fixed scanbuild errors were harmless.
* Remaining errors are invalid memory access in panic (intentional
segfault) and a Date handling case where garbage data is intentionally
assigned as doing so is harmless and intended.
Avoid unnecessary index re-check in num coercion.
* Add AppRequest example with "CommandLine" custom command which provides
the C argv[].
* Add AppNotify example with "DebuggerHandleFile" custom notify when running
code from files.
* Set SIGPIPE handler to SIG_IGN when signal setup is enabled. This avoids
hard exits due to SIGPIPE when debugger transport connections break.
* Add --reattach option to allow the auto-reattach test to be done without
modifying duk_cmdline.c.
Add global bindings readFile() and writeFile() for easier testing
of JSON parsing etc. These are in no way official Duktape bindings,
just part of the 'duk' command (when enabled).