Added persisted sessions in MySQL store.
Whoops.
Merge pull request #289 from my-koop/mg_persistedsessions

Added persisted sessions in MySQL store
hotfix deprecated usage of ValidationError class
Modified the merge to also  support permissions merge.
Removed unused files.
Added utility to validate user permissions (in a non-agnostic way for
now...)
Changes following CR.
Small fix.