logging and metric endpoints added

Testing still needed
docs
Add weblogging to docs
CHange weblogging to use one json doc

weblogging will now use one URL and one json doc to signal 3 diff types of
log action
Add functional test
Fix bad import stmt
AutoPEP8 changes
Clean up test dir, one shell script for API tests
Merge pull request #153 from Connexions/logging-clear-out

Contains the code to implement /logging