move JSON stuff to core/db.py
Get the tree view working
Permit adding blueprints to a site
Permission editor
Add a MIME type to the Permission record

to check which content types are allowed to be added
test run: Fix pdb call
Re-worked module loading and site setup to be modular