updated how sessions updated for Rails 4.1x
added condition for updating all session ids
changed how version is determined
Merge pull request #9 from chad-medi/feature/rails_41

Feature/rails 41