Pubdoc with jsdoc like format

Documents all the rfn3 functions!