Merge pull request #153 from Connexions/logging-clear-out

Contains the code to implement /logging
Provides a /login redirect to cnx-user.
Fix the home view to include a link to /login.
Merge pull request #156 from Connexions/login-fixes

Provides a /login redirect to cnx-user.
Add ability to handle atc current logging format.

atc currently just sends marionette events.  This is fine for now, but is not really logging much.
Fix lack of logging config in develop.ini
Remove userserver key and replace with cnx-user-url.

The new key is used in talking to the new cnx-user service, and the
old userserver key is only used in old bamboo recipies and can be
replaced there.
Add the logic of is user logged in to index

remove the logic at /home, put it onto /
Bug fix in weblogging and DMZ
Bug fix the bug fix
Put the logout call in the right place

We were calling logout but it was not hooked up to the delete session
Change the FOO placeholder to hasVisitedPreviously

It does not matter what the value in kv pair is, we only want to know
if this browser has been seen before. However FOO does not look suitable,
so change it to a better name.
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