Remove ids and add mediatype to each test example.

Also clean up unused test data
Correct double error in logic to change ACLS

There was a bug that would remove a user from his own ACL list on own module
however another bug prevented it.  Testing thus passed.  It seemed best to
fix both bugs
add route for /content
Add view to handle content - logic to call correct routes
Large rewrite of testing to munge changes to content
Remove the old rule sets and routing logic

We no longer need to support /folder /module etc. So remove the flask-route
setup and also remove the logic those URLs would point to.
change logic of obj_from_urn

originally we decided which object model to use based on the URI/URL
This is no longer possible (arguably not good practise either).  So
we now look for the SQLAlchemy model in each table that has the given
UID.  If we find it, we return the object.  We cannot know in advance
which model the UUID applies to (ie GET folder or GET collection) so
we try all three.  SqlAlchemy fights my attempts to search then retrieve.
Add lookup from a mediaType to model class
Add lookup from a mediaType to model class
Fix generic routing to call correct models.

We needed to add a few lines to ensure we looked up the correct model for
uid and then called the generic_x
Tests changed to reflect above
putting /folder back as part of the API w/ atc
move names around in models: body means html, contents for json
handle null values for various attributes
Stop clearing sessions on startup

Refs #159
Merge pull request #160 from Connexions/initdb-bugfix

Stop clearing sessions on startup
Merge branch 'master' into syslog-bugfix
add comment about priority