[WIP] Better js -> URL map to reduce unneeded execution

This PR splits up the `$ ->` which run on every page. Now project functions are run on much less pages, making things faster and less error prone.

Projects have been split into 3 Js classes:

- Project: runs on all project namespace
- ProjectShow
- ProjectNew: new and edit