Bug 1113688 - Wrap api view decorators with functools.wrap