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
#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
Merge pull request #169 from bsharanya/master

Groundwork for rails upgrade.
#171 - move running rspec into a seperate rake task.
Had to migrate buildr dependent code to plain ruby.
Introduced old.go.jruby & old.go.jruby.bat on the lines of go.jruby & go.jruby.bat respectively.
command to run tests: ./tools/bin/old.go.jruby -S rake --rakefile server/run_rspec_tests.rake spec spec_module=<module eg: helpers/api>
Merge pull request #165 from juniorz/thread_safety

Fix thread-safety issue
#130 - get rspec tests in rails.new to run
created new rake file for this. RAILS_WORKING_DIR is 'rails.new'
moved command to run tests from script/spec to rspec
fixed format of rspec-extra-formatters
create spec_helper: rails new myapp --skip-active-record --skip-javascript --skip-test-unit; cd myapp; add rspec & rspec-rails in Gemfile; bundle install; rails generate rspec:install; copy spec_helper.rb into rails.new/spec
added dummy model & spec
command to run spec: ./tools/bin/go.jruby -S rake --rakefile server/run_rspec_tests_use_new_rails.rake spec
#130 - get rspec tests in rails.new to run
./tools/bin/go.jruby -S gem install rspec --no-ri --no-rdoc
./tools/bin/go.jruby -S gem install rspec-rails --no-ri --no-rdoc
./tools/bin/go.jruby -S gem install rspec-extra-formatters --no-ri --no-rdoc
install gems required to run rspec tests
#143 - Revert "#NA - Adding a test to verify non UTF-8 character file names"

This reverts commit f231204ed96de7367b1e88a5308de27d27635fe9.
Merge pull request #173 from arvindsv/master

#143 - Revert "Adding a test to verify non UTF-8 character file names"
#130 - fixing build. bouncycastle needs to be packaged in agent.
#130 - Make rspec exit after successful run.

For the tests, we load the Spring application context, which starts
activemq, ehcache, h2, etc. which start daemon threads, which do not
allow rspec to finish (and exit) once the tests are done (when run
using autorun).

Explicitly exit with the status code.
Merge pull request #176 from arvindsv/master

#130 - Make rspec exit after successful run.
#NA - ability to run 1 spec file
./tools/bin/old.go.jruby -S rake --rakefile server/run_rspec_tests.rake spec_file
./tools/bin/go.jruby -S rake --rakefile server/run_rspec_tests_use_new_rails.rake spec_file
Merge pull request #177 from srinivasupadhya/master

#NA - ability to run 1 spec file
#130 Add support to spork to rails.new tests

./tools/bin/go.jruby -S gem install spork -v=1.0.0rc4 --no-rdoc --no-ri