Generate catalog documentation files for user and library modules

- [ ] Automatically generate `.json` documentation for libraries.

Closes https://github.com/nathan/lemma/issues/53
Closes https://github.com/nathan/lemma/issues/52
Closes https://github.com/nathan/lemma/issues/58