#130 - Moving comparison_controller files to new rails.
#130 - Migrated tw_studios_gadget.

Migrated the old tw_studios_gadget plugin to new rails engine gadgets.
Look at https://github.com/bsharanya/go_card_activity_gadget.git for migration details.
#130 - Adding the new gadget as a gem.

This gadget depends on validatable, adding that also.
#130 - Copy environments controller, related views and specs from old Rails to new Rails.

* No changes made. Just files copied.
#130 - Fix environments_controller_spec for new Rails.

* This controller spec has render_views specs (evil, tests views in controller spec).
* form_for has changed. form_for(:environment, @environment, ...) to form_for(@environment, :as => :environment, ...)
* Had to change <%- form_for ... -%> ... <%- end -%> to <%= form_form ... %> ... <% end %>
* Had to change <%- f.fields_for ... -%> ... <%- end -%> to <%= f.fields_for ... %> ... <% end %>
* In Rails 4, in controllers only (and not in views), any usages of url_for gives an absolute path.
  Use :only_path => true to get Rails 2 behavior.
#130 - Copy files for specs from old Rails to new Rails.

* No change made. Just files copied.
#130 - Move parts of application_controller_spec to new Rails.

Moved specs for methods which are already moved.
#130 - Move parts of agents_helper_spec to new Rails.

Moved specs for methods which were already moved.
#130 - Fix agent and table helper specs for new Rails.
#130 - Copy views of environments from old Rails to new Rails.

* No change made. Just files copied.
#130 - Fix environments spec for new Rails.
#130 - Copy views and specs of Environments from old Rails to new Rails.

* No change made. Just files copied.
#130 - Fix environment_pipeline_html_spec for new Rails.

* Also, added remote_function method which was removed in Rails 3 or so. This is needed for compatibility. Moved related tests to new Rails.
#130 -Fix Environments views and specs for new Rails.

* Added ':skip_digest => true' to prevent Rails from putting it's own subkey. This is required to make it compatible with old code.
* Put the missed out test fix in application_controller_spec.
#130 - Resolving merge conflicts.
Fixing #91

Java model was returning truncated string, and title tag was using the
same. Changed implementation, now css is taking care of truncation.
Removed a test (shouldAbbreviateLongRevision) from Java Model test.
Removing no-longer required function - abbreviate()
#130 - Calling escape_javascript on url for Ajax request.

* This is done to make it compatible to old Rails implementation. Added spec for the same.
* Duplicate routes got inserted in routes.rb as a result of merge. Deleted the dummy route.
Merge pull request #279 from mdaliejaz/environments_to_new_rails

#130 - Moved Environments from old Rails to new Rails
Merge pull request #284 from ermauliks/master

Fixing #91