moving over post-addons refactor template changes
kill off app/templates for docs & dbs

They live under app/addons/databases &
app/addons/documents now (as with the
other addons).
Update the makefile with the refactoring changes for moving documents and databases into addons.
Fix so that you can edit view docs, but not delete them
Fix Permissions model url