Add active record rescue responses

This adds rescue messages for Rails 3.0, 3.1, 3,2 and 4.0

Since the check for rails version is done in the initializer, it should not affect application performance except for the check on application start.

Pull request for issue #492