Rails4 assets

Changes to get asset pipeline working for rails4. Some of the velocity pages do not look pretty, but getting some help from @ermauliks to get them fixed. More pull requests to come soon.
If you check for usages of 'go.jruby' across this file, all of them use the same expression. I am just being consistent :)