Create an independent dependency resolution script.

Calculates dependencies without using Closure Compiler,
to be used with alternate compilers and build tools.

Progress on #7 and #74.
Do you think `arrays.toArray` might be clearer?