Move front-end code into separate files

The front-end code now needs to be built so grunt was used to do this. It, and its dependencies, are installed via npm so a package.json was added.

To simplify running, a `Procfile.dev` was added, which will run the web server and build the front-end code. A `.env.sample` was added so users can take advantage of this.