Doc'ed the modules lib, and also fixed a bug in the exapi docs (forgot to add the protection field to variable doctables).