Session exposed Api reviewed

Methods ValidateSession and  GetPartnerIdFromSessionId moved to tests.
Related to issue #8