Serialization for ActiveRecord::NamedScope::Scope

As is the case with ActiveRecord::Relation in Rails 3 NamedScope in Rails 2 needs to be extended to support encode_amf as well to allow scopes to be passed through render :amf calls