Fixed OauthRepository to accept oauth2_provider engine  parameters
#000 - Gadget index and content should not have any layout.

Tests pass even without these lines. Weird. But, without this change, in
the app, the layout shows, even though it has not been asked for.
#130 - Deleted a duplicate method from /controllers/api/pipelines_controller_spec.rb (old Rails).
#130 - Copying missed out specs to new Rails. Just a copy.
These specs were missing in the migrated Rails code. Copied these missing spec classes. Will be migrating these to new Rails in the next commit.
#130 - Migrated missed out specs to new Rails.
#130 - Uncommented the before and after methods (Migrating to new Rails).
* Tests were passing locally on my mac irrespective of these methods. I think these might come into picture when there is a difference in time zone. Have made it as a seperate commit, so that it's easy to revert the commit if required.
#130 - Added specs for named route path to URL matching.
#130 - Deleted code with missing tests.
* This code was relevant in old Rails. New Rails does this check implicitly.
#396 - style enhancements
#396 - removing usage of 'in_between_text' class

- class no longer required
#130 - Incorporated the feedbacks received on the pull request.
* Changed the spec name, fixed some typos and migrated the deprecated '.should ==' check to 'expect().to eq()'
setConfigAttributes should handle both rails-2 & rails-4 UI params
Merge pull request #491 from ermauliks/master

#396 - style enhancements
incorporate feedback request
Merge pull request #490 from mdaliejaz/Rails_missed_out_specs

#130 - Adding missed out specs of Rails migration.
Merge pull request #492 from srinivasupadhya/fix-run-on-all

setConfigAttributes should handle both rails-2 & rails-4 UI params
#000 - Fix authorization for /admin/oauth/token.

1. It was earlier /oauth/token. Now, it is /admin/oauth/token.

2. Earlier, it was lower in the chain of auth definitions. Now, it has to be
   above, because there is a catch-all /admin/** below it (around line 270)
   which will override this, if it is below.

This change allows the OAuth client to get a token to use for further requests.
#000 - Upgrade joda-time.

jruby-1.7.11 includes joda-time 2.3 (see dependencies section
here: http://maven-repository.com/artifact/org.jruby/jruby-core/1.7.11). Go
was using joda-time 1.6. There is an incompatibility in constructors between
these versions, and some oauth code in token.rb#before_create failed, since
it picked up the older joda-time class.
#000 - Fix another oauth_client_id => client_id issue.

In new engine, it is client_id.
#000 - Add clientId related methods.

getClientId() and setClientId() are called through Rails reflection,
from model_base.rb. Earlier, since the column name was oauth_client_id,
it used to call getOAuthClientId() instead.