Add SessionError exception.
Add Session.set_level() and Session.get_level() methods.
Make set() and delete() work with level, update tests.