Update to 1 4

Changes to the Gemfile, configuration, and tests that effect upgrade of this application to Doorkeeper version 1.4