Merge pull request #36 from julianbadillo/master

Comments and code-tide up
I missed to in include this in the last pull request
Merge pull request #37 from lucacopa/reject_script

I missed to in include this in the last pull request
bug fix
Merge branch 'master' of https://github.com/CMSCompOps/WmAgentScripts
functions to phedex client