Create two parameters instead of one, add tests

As suggested by Hunner in IRC, I've create 2 params to control the
creation of user and group resources. Added documentation and tests for
the new parameters.