Move a couple of jinja specific functions where they belong
temp checkin
fix permission setup

permit() did not work because it checked for a NULL for_objtype value which
gets replaced with the targets's objtype in setup
use the global root_site insted of asking the database
interim checkin
superfluous imports, lots of
importer: forgot about static files
interim checkin
Added support for flask-migrate / alembic
Add a page to render plaintext into HTML.
Site setup and ' populate' fixes

* didn't pass a user, so missed some initializations
* multi-extension MIME types
Object setup: examine superclasses for relevant entries
Add a render_content method to every object
Fix "empty" blueprint paths
actually initialize Content objparts
removed superflouos code
a bit more documentation
render ContentData responses
fix site setup 2
Fix MIMEext initialization