Use asset pipeline if defined Sprockets instead of checking for Rails version
Merge pull request #284 from ssherif/master

Change the checks for Asset Pipeline from the
version of Rails to the presence of Sprockets