Some methods in persistent manager are protected and accessible from
persistent manager session only.
Fix, entity manager can only be got from session.
Merge pull request #17 from futurelink/develop

Fixes