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

Resolved merge conflicts
Bug fixes: 1034084, 1034018
Fix group_instances/component_instances/gears checks in oo-admin-chk script