Pass SessionHandler to RestOnPat

It is hard to place a session handler appropriately.

Would be strange if all services have their own session handler.
Place it here for now and review later.
PatRestHelper check session for access

A new method CheckAccess will check permission for the access type
with the SessionHandler and a reference data (could be the object).