add "history" option + bug fix

add option for forced disable all window.history.<.*> calls. Needed for using third part hisory lib(Backbone.Router or others)