Make package CommonJS compatible
Remove breaks for compatibility with jsv2 standard
Merge in changes from master, tweak linting

Merge in the changes from master, and amend linting to keep use of
jslint rather than jshint; tweak things jslint complains about
Merge pull request #16 from ftlabs/commonjs-compat

CommonJS compatibility