chore(gen-docs.js): expose dgeni as a command line tool via npm

Closes #97
fix(gen-docs.js): `startsWith()` is not ES5 compatible

This was leftover from when we were using es6-shim in dgeni. Now that has
gone we must go back to using `indexOf()` instead.

Closes #97