Rails 4 compatibility upgrade

I've altered the old active record call to use the new AR methods instead of the old finder hash options method in the notification model. This should make it compatible with Rails 4. It has been tested on my system with a Rails 4 application and appears to function successfully.