Implemented a gnumake based build.

 * Rebuild (mtime based) only what needs to be rebuild - hopefully
 * Using the node_modules binaries (only node, node-webkit and npm need to be installed globally... haha)
 * Moved the templates directory to src
 * Moved the development scripts to dev
 * Update node_modules only when /package.json gets modified
 * Rebuild the dist if /src/package.json gets modified
 * The run and debug targets use the repository in /debug_repository.conf
 * Tests modification depend only on the module with the same name in `src'