remaining changes to make the tests work again
Another "forgot the app context" problem
spurious debugger call
another case of the missing app context
missing MIME types return KeyError, and indexing works with [] not ()
removed debug stuff
fix passing the current session to formalchemy
yet another non-unicode parameter that ends up in a database query
HACK: remove management code

this causes the --pdb flag to be ineffective, but it was dead before
TODO: fix this, currently setting it works via the environment.
App context setup was broken in major ways.
Add the bject's OID to the dump/attribute/list output
forgotten import
Pass the current site to a few debug/admin render templates

this allows examining subordinate sites and other crap
Allow update blocking only if the old value is of a certain class

This allows correction of assignments in before_insert
like a SiteConfigVar which belongs to a site's config, not to the site itself
Add SQLALCHEMY_COMMIT_ON_TEARDOWN=True

and add a comment that one shall not turn this off. Ever.
dead code removed
documented cycle in object.py
request.user may not exist

esp when called from the command line
REST: fixes

* always return the tracking object (except for get/post of course)
* don't double-encode
Return None if a referred-to generic object got deleted

TODO: do the same with a direct relationship