Headpin tests blocked, added rest implementation for system groups

Also adds a rest/create function for activation keys.