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.