Adapt API for changed models; get tests to pass

Updated all serializers & views in the API and tweaked the tests a bit
to reflect our new circumstances.