#000 - Ruby string -> Java string in view cache.

When fragment caching is used, as mentioned in the Rails guide
http://guides.rubyonrails.org/caching_with_rails.html#fragment-caching,
the actual fragment is cached as a Ruby String. In JRuby, this means
that the RubyString class (http://jruby.org/apidocs/org/jruby/RubyString.html)
is used.

When a RubyString class is used in a long-lived cache, it has
potentially bad consequences. In this case, because of JRuby string
copy-on-write semantics, some of these strings had 3MB of memory stored
for a string as small as 6000 characters (because RubyString uses
ByteList, which had a big byte array as a buffer, which it indexes into.

When the Go fragment cache tried to cache 500 pipelines, each taking
about 3MB to cache (instead of about the usual 6 to 10 KB), the memory
usage went through the roof.

This commit brings back the old JRuby and Rails way of using
java.lang.String for the fragment cache, instead of using RubyString.
Just for fragment caches.
Merge pull request #668 from arvindsv/fix_erb_cache_issue

#000 - Ruby string -> Java string in view cache.
Fixed failing rspecs.
* In Rails 4, 1 year 9 months = almost 2 years (http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#method-i-distance_of_time_in_words). This is why the specs were failing as the expectation was different.
Merge pull request #671 from mdaliejaz/fixSpec

Fixed failing rspecs.
Fixed help URLs.
* All the URLs now go to respective pages on http://www.go.cd/documentation/user/current
Fixing assertion so it passes on windows
Merge pull request #673 from jyotisingh/build_fix

Fixing assertion in test so it passes on windows
Rename pipelineselections.unselectepipelines column to selections.

Added isblacklist column to pipelineselections.

Signed-off-by: Frank Kotsianas <fkotsianas@pivotal.io>
Persistence for selected pipelines groups based on isBlacklist field.

Signed-off-by: Frank Kotsianas <fkotsianas@pivotal.io>
Use isBlacklist() in PipelineSelections.includesPipeline().

Signed-off-by: Frank Kotsianas <fkotsianas@pivotal.io>
Test for presence and behavior of the show-all-pipelines checkbox.

Signed-off-by: Nikhil Gajwani <ngajwani@pivotal.io>
Allows a user to switch between seeing all new pipelines or maintaining a static selection.

Signed-off-by: Nikhil Gajwani <ngajwani@pivotal.io>
Make sure users always see pipelines created by them.

Signed-off-by: Aravind SV <arvind.sv@gmail.com>
Select ALL and NONE buttons should not affect "Show new pipelines" checkbox.

Signed-off-by: Aravind SV <arvind.sv@gmail.com>
Changed style on "Show newly created pipelines" checkbox.

Signed-off-by: Aravind SV <arvind.sv@gmail.com>
Update Apache commons-io to version 2.4.

Version 2.4 is able to clean up circular symlinks.

See https://github.com/gocd/gocd/issues/360#issuecomment-50403790

Signed-off-by: Aravind SV <arvind.sv@gmail.com>
<%= to <%== in server health message
Moved NOTICE folder.
* Just a move. No code changes.
* Earlier these files were accessed under '/help/' link. From now onwards they will be accessible directly under the server URL (served through Jetty, not Rails).
Fixed the link to 'Third Party Software' Notice.
Fixed failing specs.