Login model should now be returning userid.

Apparently, when RowProxy is converted as a dictionary, the columns are namespaced
as tablename_columnname ('cause, duh, in a query you can mix and match columns
of the same name from different tables).
Adding prototype operations.
Added docstrings our database ORM mappings.