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