Flatten 'gears' in application mongo record i.e. 'gears' field will be sibling of 'group_instances'.
Remove group_instace_id field from some pending op models that are no longer needed
Bug fixes