Make sure the project-file environment variable is set

Woops

Add projects.json to gitignore

Fix more stuff with the projects.json var
Fix the frontend bug with duplicate click listeners
Merge pull request #34 from webkom/cleanup

Fix a few issues with the projects config file and fix #27