sanger/S2Mapper — pull request #34 by mattdenner (2013-03-20 16:13:55+00:00)
Title: Refactor BaseResource.extendAs to properly setup root

BaseResource.extendAs takes a constructor function.
No resource classes define instantiate, they use the above.
This ensures resource.root is always correct.