added url encoding of uri components, added delete method to groups, add...

added url encoding of uri components, added delete method to groups, additional code coverage to groups