Fixed resource group/master/clone creation

- When creating a group/master/clone with resource create, make sure the
  resource is already inside the group/master/clone before pusing it out
  to the live CIB