All tosses page

Hey - I think I got the history page working mostly the way I wanted it to. Would you take a look? 

A few things: 

 * No tests yet although I know I need some and see where they would go...because actually I couldn't figure out how to run them. Guidance? 
 * I suspect that I ought to pull the code that gets all pages for a user out of history/routes.js and into page/dao.js...would you agree? 
 * I merged in latest from your master branch and resolved the conflicts before initiating this pull-request - not sure if that was the right thing to do or not. 

Hope you're having a good week -