Feature/fix commit for run

I was unable to use the api to do what the commit command line can do, which was to save the config for a run (command/ports et al.). According to the API this is possible by passing run as a query option, but has to be passed as the body of the POST, which this pull request fixes