[session, repository] provide repo.open_session and move .close reponsibility to session object [applied]