Fixed deprecated callback terminator warning

Rails 4.1 and above deprecates string style callback terminators. This
switches off the version to provide either a lambda or a string, keeping
backward compatibility.

Closes #56