Updated isRevoked to properly calculate expiration time
Keep 2 spaces before model classes for pep8 compliance.
Separate imports into one entity per line.
Refactor https checking to a view function decorator.
Merge branch 'authcode-workflow' of github.com:ramsay/pyramid_oauth2_provider