Adds condition to make the version of sass-rails dependent on the value of RAILS_VERSION
Merge pull request #816 from projecthydra/adds_sass_branch_to_gemfile

Adds condition to make the version of sass-rails dependent on the value of RAILS_VERSION
Fixes endnote export functionality and adds a test