[api] add the basics for a group request type
[api] create an official hook called during create of a request
[api] fixing and testing of group actions
[api] some more refactoring of requests and fixes for groups