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
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