Integration with Backbone.js

I've added a minimal example of front-end code that talks to the server via JSON. Now we're serving HTML or JSON depending on what the client is requesting.

Next step should be to add authentication and a middleware for storing session data such as the user.