get things kind of working with pecan
add(gerrit support): Required to move to openstack

Config taken from: http://ci.openstack.org/stackforge.html
move everything into pecan
some cleanup
fix exception handling
get api tests passing
add /status and fix tests
fix some copyrights
remove dead code
remove oslo dependency
fix up some text
simplify tests a bit
add wait param
fix up API docs a bit
remove commented code
Fix MediaType() call and add tests for / and /v1
Merge branch 'master' into use-pecan
Remove dependency on teeth-rest.

This commit:
- Removes all references to teeth-rest.
- Brings in encoding.py and errors.py from teeth-rest.
- Removes the "view" thing from the encoding module.
- Adds structlog as a dep. This was missing and overlooked
  because teeth-rest was installing it in the environment.
Fixing merge conflicts, passing py26
add oslo.config and oslo.log