Move side-loaded resources to :linked hash

This PR includes a new `result` class which will make it easier to add future support for serialization formats other than jsonapi.org. I also moved side-loaded resources into a `:linked` hash to comply with a recent jsonapi.org standard change