Some tweaks to badges.models

Removed models that were combo of one-to-many/many-to-many. Regularized
names of ForeignKey fields to singular lowercase of parent model.
Merge branch 'master' into views

Conflicts:
	badges/VISD_Badges.sql
Big changes

that don't work yet.
Two new apps, routing, model changes

Big changes. Views now emerge from a list of UNIX-style permissions on
resources, which also govern the traversals from one resource to the
next. It seems to work.
Added tags and tools, finished permissions config
Finished permissions

Added Events model -- still a tough case, traversals may not work...
Now able to add/subtract permissions to specific groups
Finished configuring 'visd-staff' group
Fixed group_mods, added start to auto-documenting api

More when it's all groovy
Fixed, added tests
documentation improved
Added templates and documentation

Fixed the build system.
Added "tagged_with" to instance dictionary.meta

only resource name piping into it so far.
Parents on views, more documentation

Views on instances and collections now return their own parents in
their meta portion.
More changes to context

Pre-fetched relations now load into the top level of the dictionary
under their own names. Also added debug-toolbar and other small tweaks.
Some cleanup in methods. Added middleware.

Middleware tunnels 'PUT' and 'DELETE' methods through 'POST.'
New method to return post form

Accessible through <URL>?form='create'
Fixes in views, early version of POST form
Changed context structure and templates

Related collections now append to instance dictionaries under a
'relations' entry.
Added custom-auth folder