Backport ActiveSupport::MessageVerifier from Rails 3

ActiveSupport::MessageVerifier in Rails 3 lets you specify what serializer is used.