Extract paths to separate file. Prod -> production. Dev -> development. And some more.

Remove custom environment variable and make use of standard NODE_ENV.
Update dependencies, readme and and run-script to run distribution in production mode.
Make uglify not fail.