Move coordinates method to serializer.

`coordinates` is provided as a convenience by the API, and it’s only
used in the API response, so it should be defined in the JSON
serializer as opposed to being a Location instance method.

I also cleaned up other serializers by using inheritance.