Add pipeline_controller and spec
Add files required by pipelines_controller_spec
Add routes required by pipelines_controller_spec
Make pipelines_controller_spec pass on new environment
#216 - Fixing class names lengths so that the filename does not overflow 143 characters.

This is because of a limitation in ecryptfs on Ubuntu which does not allow filename with more than 143 characters. Link to the issue on launchpad is on issue #216.
#130 - Use Nokogiri xml instead of slop in rspec.
#130 - More APIs moved to new Rails.

* Pipelines feed API.
* Stages feed API.
* Pipeline instance feed API.
* Had to move MaterialsHelper, ComparisonHelper and FeedsHelper for it.
* Had to move PipelinesController (pipelines_controller.rb) for it.
Merge pull request #218 from arvindsv/apis_to_new_rails

#130 - More APIs moved to new rails.
#190 - Fixing git url exact matches in case of file based URL
Merge pull request #226 from sachinsudheendra/git-post-commit-hook-bug-fix-1

#190 - Fixing git url exact matches in case of file based URL
Merge branch 'pipelines_controller' of https://github.com/juniorz/gocd into juniorz-pipelines_controller

Conflicts:
	server/webapp/WEB-INF/rails.new/app/controllers/application_controller.rb
	server/webapp/WEB-INF/rails.new/config/routes.rb
#130 - Use new rspec in pipelines controller.

* Use stub instead of stub!
* Use double instead of mock
* Move all pipelines controller routes to one place
* Use expect(a).to eq(b) instead of a.should == b
Merge branch 'juniorz-pipelines_controller'
#130 - build_cause ERB and specs moved.
#130 - Move files from old Rails to new Rails.

* No change made. Files copied from old to new.
#130 - Move build cause popup to new Rails.
#130 - Move parts of pipelines_helper to new Rails.

* Only parts needed by build_cause_popup.html.erb are moved.
#130 - Moved files for jobs_controller api to new rails.
#130 - Made changes to jobs_controller for new rails & rspec.
Merge pull request #231 from bsharanya/jobs_controller_api

#130 - Jobs controller api moved to new rails