Finish integration with Browserify. Add browserify shims and aliases. Fix grunt tasks.