Permission check for user creation
With JS based clients, forms are obsolete
Refactoring of the ModelBase class

Now it resembles query a bit more. The common functionality cannot be
encapsulated within a base class, because the models need to derive from
the db backend class, and I'd like to avoid multiple inheritance in such
a crucial piece of code.