Use webpack for all builds instead of Browserify

Closes #625
Closes #608
Fix JSHint warnings