add "history" option

add "history" option for force disable all window.history.<.*> calls.
Defaults to true.