Refs #55 - Handle returned ArraySerializableInterface objects in rest controller.
Refs #55 - Reorder ifs so that the conditions that should be more common are tested first.
Merge pull request #55 from synapsestudios/feature/55-handle-arrayserializable-in-rest-controller

Handle any ArraySerializableInterface object returned by REST method