WIP: update execution controller use of api controller, use api service
WIP: update api to be more restful
Move apicontroller utilities to apiservice, fix output

* move some methods from execution controller to service
* fix use of unauthorized status code
* use apiservice for all api responses
Update unit tests
Update api test scripts:

* more precise error checking of http status code
Execution service responsible for execution api format
Update tests
Merge branch 'apifixup' into grails2