Use module-deps npm package instead of browserify

This commit moves the dependency parsing from browserify to one
of its dependencies: module-deps. This removes some moving parts and
required configuration in order to make browserify work.
Add testing, follow testing patterns for engines