Added shared session class TiSharedSession.

- added -cloneSession to TiSession to create sessions that share the same TiSharedSession.