Separate app and project more

This pull request moves app specific CSS/JS into the application, creates a base template so that installing as an app doesn't require a base.html to exist, tidies up some hardcoded URLs, and makes it generally more installable as an app.