add REST documentation for principals module

Next to this, we'll also need a BasicUser model