Stubs out necessary properties in Backbone.history to run outside of browser.