Adds type specification, module comments and headers.

* Cleaned the erodlib_jsx and erodlib_term interface.
* Moved the version and key type specification to erodlib.