Store/retrieve tab with location hash

- Uses location hash to store current tab.
- Allows linking directly to a tab.
- Appends hash to form action value so tab persists upon save.