Moved serialization from models to resources

A lot of resource requests require database queries that search through other
resources, so it made sense to move that away from the model files and into
the resource endpoint files
Merge branch 'master' of github.com:spkelly/seuchan