Overloaded the Commit and GetCurrentSession methods for ISessionManager

Commit and GetCurrentSession methods for ISessionManager were overloaded
to accept an Action that takes in ISession.
Removed the OpenSession method.

Added unit tests for ISessionManger