PatRestHelper provide access scope information

Added a method ScopeOf ot PatRestHelper interface.

This method should provide the scope requires for a certain kind
of access to the concerning object type.
Separate preqs from build and test

Improve Makefile. Separated preqs from build and test target.
Defined SessionHandler

Defined an interface to handle session
Moved osin dependency from to SessionHandler