Signature of repo method addCollection changed to take collectionName instead of collection
api repo docs (and missing tests) complete
first pass json-repo complete