Updates code to be compatible with rails 3 and 4
Fixes depracation warnings when wrapping methods in InstanceMethods module
Updates version number
Merge remote-tracking branch 'npearson72/master'