Feature/refactor

Complete update to express 4 and a fair bit of cleaning up. Fixed deprecated features in new middleware, updated the layout to reflect other deprecated features of jade. 

Each commit is a mostly isolated change both to the package.json and to the corresponding files where applicable.