fixing sideloading of nested associations
Support lowerCamel key format
root key format
Merge pull request #493 from shakirshakiel/master

fixing sideloading of nested associations
Merge pull request #534 from kylefritz/master

Support lowerCamel key format
When runnin w/in Rails, make available url_helpers

This technique ties this usage to Rails, which but makes the helpers
directly accessible w/in any instance of ActiveModel::Serializer,
including any associations.
Inject explict UrlGenerator into serializers

This is done automagically for Rails, but non-Rails apps can pass along
their own url generators/helpers to be used within serialzers.
Allow configuring default_url_options AMS-wide

This is useful when running either outside of Rails, or in a background
job where you won't have access to the current url options for a
request.
Run load hooks to finish configuration
Make urls alias available on ArraySerializer too
Support Ruby 1.9, where Kernel.Hash doesn't exist
Use plural resources to appease Rails 3

This also meant defining our own Model#to_param to we could correctly
serialize, rather than falling back on the default #to_s implementation.