Support CommonJS and AMD style requires with phoenix.js

Since the library itself has no dependencies, we don't need to inject
anything, but otherwise based on the pattern here:
https://github.com/umdjs/umd/blob/master/commonjsStrict.js
Merge pull request #247 from lsimoneau/modular-js

Support CommonJS and AMD style requires with phoenix.js
Add default host config settings. Close #256