Added partials and path changes

Added in partials so we have the same html structure for all pages, and
different controllers for each page.

Also, changed the node server so that it automatically goes to
index.html if pointed to a directory, and if pointed to a directory that
doesn't exist, it will go down until it either finds something or hits
the end. If it tries to find a file, it'll still 404.
Rearranging reliances and re-architecting require.

Rearranged where the dependencies are. They are now managed by bower
(just run bower install to update), and are stored in app/lib.

Also, rearchitected it all to use require (because everyone loves
require), and made sure only things in each file are the things we need
in that file.
Testing and tidying up

Fixed the tests (they were broken by require, and yes that means I
didn't run them before committing last commit) and tidied up some stuff
that I don't need anymore.