Add missing javadoc required by Java 8

Fixes #138
Changes default timezone to the same as expected on tests

The date formatting as text is based on current timezone. The test failed on
every timezone but Bangalore's.
The exception message changes on different Ruby (and JRuby) versions.

+      # The exception message change depending on ruby version
Don't rely on order, just on content.

The serialization can be different depending (depending on active_suport
version) but the content should always be the same.
include_class is deprecated in favor of java_import

More details: http://jira.codehaus.org/browse/JRUBY-3797
Fix thread-safety issue

This code was not thread-safe and more recent versions of Ruby raise an exception "RuntimeError: can't add a new key into hash during iteration"

More info: http://jira.codehaus.org/browse/JRUBY-4565
It is not a good idea to compare strings as if they were numbers.

"1" > "0" == true
"9" > "100" == true
There is no need to call INT.to_s
Merge pull request #163 from juniorz/tests

Fix tests
Merge pull request #160 from juniorz/javadoc

Fix build for JDK 8
Merge pull request #164 from juniorz/deprecate

include_class is deprecated in favor of java_import
Merge pull request #166 from juniorz/bad_conversions

Bad conversions
testing
reverting test changes
#147 - Sass is a gem in JRuby now. Use it.
This feature toggle allows us to switch the JRuby and jruby-rack versions
during the switch from Rails 2.3 to Rails 4. Changes include:

* New toggle in SystemEnvironment ("use.new.rails").
* JRuby jars checked into server/jruby_jars
  - Removed dependency from server/pom.xml.
* Changed packaging in cruise-modules.rb to include all 4 JRuby jars.
* Created new module development-server-new-jruby
  - Its pom.xml has a dependency on new JRuby, for dev server.
* development-server/pom.xml has old JRuby dependency added.
  - Allows people to continue to use their dev server setup with old Rails.
* Changes in GoServer.java to switch JRuby versions.
  - Just like addons, adds the correct JRuby jars to web app classpath.
  - Switches rails.root to /WEB-INF/rails.new for new JRuby.
* Comment rails.root which was hard-coded in web.xml.
#130 - Making bouncy castle toggleable.

JRuby 1.7.11 needs bcprov-jdk15on-1.47.
Older JRuby continues to use bcprov-jdk16-140.jar.
pom dependency is left behind, temporarily, since it is needed at compile time.
#130 - Started Rails 4 app.

Steps taken:
* Install rails 4.0.4 externally using an rvm gemset.

* Create a new rails project:
  cd server/webapp/WEB-INF
  rails new go --skip-bundle --skip-active-record --skip-javascript --skip-test-unit
  mv go rails.new

* Remove everything except rails '4.0.4' from rails.new/Gemfile

* Install required gems into rails.new/vendor/bundle:
  cd rails.new
  ../../../../tools/bin/go.jruby -S bundle install --standalone --path vendor/bundle

* Remove line in vendor/bundle/jruby/1.9/gems/thread_safe-0.3.3-java/.gitignore
  with content lib/thread_safe/jruby_cache_backend.jar. This causes the jar to
  not be checked in and fails to start the server.
#130 - Configure Rails 4 app.

Bundler is loaded specifically, in boot.rb.
Remove config of unused parts of rails.
#130 - Fix Felix to work with JRuby 1.7.11.

Felix adds a URLHandler to the URL class of Java, which causes
JRuby to fail to load any JARs inside its jruby-complete-1.7.11.jar.
For more info: http://felix.apache.org/site/apache-felix-framework-faq.html