rest: remove unused device model
rest: add tests for session GET
rest: create abstract pstore_model
rest: remove crappy logging
rest pstore_model: use class name in filename
rest pstore: return data from set
rest sessions: use pstore model to save sessions