Use the same test for resource array-ness that ActiveModel::Serializers itself uses. This should be more reliable and it's probably good to conform to AM::Serializers behavior wherever possible.
Merge pull request #6 from tfe/master

Conform to ActiveModel::Serializers' way of determining array-ness