Smaller build by managing build better.

Uses a different promises library, and a different http library. Also,
cleverer builds which use the browserify package.json system so that
consumer libraries are built correctly.
3.8.0 build
updated changelog