add REST documentation for principals module

This should be `BasicGroup`. Next to that, we should also have a `Group` object that represents the full group object