Replaced deprecated Docker flag '-c' with '--cpu-shares'.
Replaced deprecated Docker flag '-c' with '--cpu-shares'.

Also replaced '-m' with '--memory' for consistency, despite '-m' not
being deprecated like '-c'.

The '-c' flag is targeted for removal in version 1.11 of Docker:
https://github.com/docker/docker/blob/851fe00c64ff/docs/misc/deprecated.md#command-line-short-variant-options

The long options are available since Docker 0.8.0:
https://github.com/docker/docker/commit/e71dbf4ee5add5736f595948fc20bd01af56a744

Review: https://reviews.apache.org/r/42320/

craimbert/mesos,dforsyth/mesos,abudnik/mesos,zmalik/mesos,craimbert/mesos,chhsia0/mesos,neilconway/mesos,Gilbert88/mesos,reneploetz/mesos,jpeach/mesos,dforsyth/mesos,andschwa/mesos,andschwa/mesos,verizonlabs/mesos,andschwa/mesos,yuquanshan/customizedMesos,gsantovena/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,craimbert/mesos,zmalik/mesos,yuquanshan/customizedMesos,zmalik/mesos,chhsia0/mesos,asamerh4/mesos,yuquanshan/customizedMesos,abudnik/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,dforsyth/mesos,gsantovena/mesos,abudnik/mesos,Gilbert88/mesos,zmalik/mesos,jpeach/mesos,dforsyth/mesos,yuquanshan/customizedMesos,asamerh4/mesos,Gilbert88/mesos,kaysoky/mesos,kaysoky/mesos,chhsia0/mesos,dforsyth/mesos,craimbert/mesos,asamerh4/mesos,abudnik/mesos,chhsia0/mesos,jpeach/mesos,gsantovena/mesos,neilconway/mesos,craimbert/mesos,kaysoky/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,craimbert/mesos,yuquanshan/customizedMesos,zmalik/mesos,reneploetz/mesos,verizonlabs/mesos,Gilbert88/mesos,craimbert/mesos,gsantovena/mesos,neilconway/mesos,yuquanshan/customizedMesos,andschwa/mesos,dforsyth/mesos,verizonlabs/mesos,asamerh4/mesos,zmalik/mesos,neilconway/mesos,chhsia0/mesos,reneploetz/mesos,verizonlabs/mesos,verizonlabs/mesos,asamerh4/mesos,dforsyth/mesos,Gilbert88/mesos,andschwa/mesos,andschwa/mesos,verizonlabs/mesos,abudnik/mesos,andschwa/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,chhsia0/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,gsantovena/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,zmalik/mesos,gsantovena/mesos,jpeach/mesos,kaysoky/mesos,kaysoky/mesos,asamerh4/mesos,asamerh4/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,reneploetz/mesos,abudnik/mesos,reneploetz/mesos,jpeach/mesos,kaysoky/mesos,jpeach/mesos,Gilbert88/mesos,gsantovena/mesos,yuquanshan/customizedMesos,reneploetz/mesos,jpeach/mesos