Add the ability to execute groovy script on the Jenkins server

We make pretty extensive use of the API client but we've found a few instances where we need to directly execute groovy script on the server for efficiency or for out of the ordinary data retrieval.  Adding this method makes that easy.