use realdictcursor because it is a lot better than the default
decorators need to catch and rethrow HTTPResponse exceptions to work correctly in bottle