Fixed #1155: Use shelljs option in make.js

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1164: Add codes to errors generated by quit()

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1166: Tweaks to import/export support

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1187: Explicitly define contents of our NPM package

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>
Fixed #1178: Changed 'predef' to 'globals' in the example .jshintrc

Signed-off-by: Anton Kovalyov <anton@kovalyov.net>