Tweaked build system
 * Moved nodemon config to package.json
 * Fixed npm dependencies
 * Fixed a race condition that cauased livereload to break