add REST documentation for principals module

Next to this, we'll also need a `BasicGroup` model