rest adapter now encodes ids
Added model-set and session seralizers with unit tests
session storage methods and tests