Separate repository from record

I've started work on separating the repository from the record.  The record really needs to be a subordinate resource of the repository (and perhaps we should have a default repository of Limbo for all the records we have without an official repository).