#130 - use rails 4 by default. keeping the switch & rails 2 code as fallback for a release.
Modified search to hide pipelines instead of just modifying the opacity
Updated the test for pipeline searching
#130 - Added sprockets-rails gem and dependencies

cd server/webapp/WEB-INF/rails.new; ../../../../tools/bin/go.jruby -S bundle install --standalone --path vendor/bundle;
#130 - Moved javascripts from webapp/javascripts to rails.new/app/assets/javascripts
#130 - Changed file encoding of few javascripts to utf-8 as assets:precompile was failing
#130 - Moved copyright section in third-party javascripts to inside '/*! */' style comment so YUI js compressor does not get rid of it
#130 - using yui for js compress and minification.
#130 - Packaging changes to to include precompiled assets with rails4, updated urlrewriter
#130 - Making assets available to velocity pages in both production and development mode when USE_NEW_RAILS=Y. Also removed empty javascripts from oauth2_provider as it was making assets:precompile fail
#130 - Duplicated css files from webapp/sass, webapp/stylesheets and webapp/css to rails.new assets folder, fixed packaging of css

All shared css gets compiled to application.css
Velocity-only css files get compiled into css/application.css and vm/application.css
When USE_NEW_RAILS=Y CSS from rails.new/app/assets get packaged. For old rails the ones from webapp get packaged
_header.vm has some not-so-nice if-else blocks to determine which css files to render in which mode, but that would go away once all velocity pages move to rails.
Above hack was done to avoid packaging and serving css from multiple locations
#130 - Duplicated all images to rails.new assets folder to be served by sprockets
#130 - Fixed image url in all rails.new css files
#130 - Changed all css files under rails4 to scss extension so we could use image_url utility method provided by Sprockets and avoid hard-coded url paths. Fixed image_url in all scss files
#130 - Cleaned up environment configs, config.assets.debug turned off in dev environment

in order to fasten page load, concatenated application.js and application.css would be served by default on dev env as well
For debugging css and javascripts append 'debug_assets=true' as query param to your url. This would cause individual css and js to be served for that request
Including compressed/joined VM file
Comment not required CSS files for VMs
include application-old.css in-place of application.css
Reverting commit - include application-old.css in-place of application.css
Reverting commit - Comment not required CSS files for VMs