Add option to select gear profile when creating a cartridge

Fix bug where gear profile was not being added to group overrides

Adds a new API option:
  ```
  curl -u <user>:<pass> -X POST https://<broker host>/broker/rest/domains/localns/applications/testphp/cartridges.xml -dcartridge=mysql -dgear_profile=medium
  ```