add cmd endpoint to call jobs via http

Rip off @alexlarsson's code.

Generic endpoint to call job's via the http api