Added in history.js library and created a GlobalHistory singleton for hooking into history events. Updated the tab_slider example to make use of history.