Added jQuery custom tab extension

This pull creates a switchable tab plugin, with the ability to specify:

- `state` : `active`; the state name of which an open tab `<li>` class is given.
- `active`: `1`; the tab which should be open on load. This could be handled by a cookie.