Added the setHash option

I've added the setHash function which causes the page hash to be
updated when a tab is selected.