Add options to limit bundle and image size.

In production we are finding that some books have tens of gigabytes of
images.  Protect our service from excessive resource consumption when
attempts are made to render these books.

Bug: 71647
Change-Id: I75a97f7e36c6eb0d1c9a419ec758cf4c35eaba4d
Properly resolve URLs to decode titles, rather than blindly removing dots.

Our `^\.\/` regexp was fragile and broken for deeply nested articles.
Rather than continuing to hack it, properly resolve the URL against
base and then match against the wiki's articlePath in order to decode
the title.  Also fixed some subtle uri-encoding issues.

Fixes [[:en:AC-130A/E/H/U Spectre/Spooky/Pave Pronto/Plain Jain/Surprise Package]].

Change-Id: Icaa14f5093c4152c9d279c2ffa1a754deb69f503
Intelligent fallback for oddball prefixes.

`kmwiki` doesn't have a reasonable entry in the interwiki table; make it
work anyway.

Change-Id: I730b4259089a023aa6a99c7dc2abf089c9d80eb6
Add ability to limit the number of simultaneous requests for small wikis.

Bug: 71895
Change-Id: I546a225b4735507e8f931a481ee245effdf601b8
Fix "image size too big" check.

The result of `n < undefined` for any number `n` is `false`, so we were in
effect never scaling images (unless a `--size` option was explicitly passed
on the command line).

We can bump the default resolution back up to 300dpi now that we're
actually scaling images.

Bug: 72377
Change-Id: I1bac1f32e35b58d284a685a480018c528602f881
Suppress console output during zip.

The spawned zip appears to halt if it fills up the input buffer on
the parent process -- even though we plan to just throw away all that
output.  Don't generate it to begin with.

Change-Id: I3291443e88a7d1f9dcb0079ff0b2ac9bf6008726
Don't create pipes for `P.spawn` by default.

Pipes will block if they get enough input, and our users are not listening
to the pipe (we're not even exposing it to the caller).

Change-Id: Iff417f74db2724ef27f64d3cc5d1c9bc40d77bf4
Update dependencies.

* `commander` to 2.5.0
* `es6-shim` to 0.20.2
* `prfun` to 1.0.1
* `jshint` to 2.5.0
* `request` to 2.47.0
* `mocha` to 2.0.1

The `retry-request` module required slight updates for `request` 2.47.0.

Change-Id: Iedbcfcc77519aa8fdc5c24c72013eec6f793bcf4