Moved LeapSession to session.py.

- Removed unused code.
Added mocking tests for leap integration.