added history.back method

Added this so that the router is not directly relying on the
window.history object
Merge pull request #232 from tommck/upstream

added history.back method