Added trim for trailing spaces on commands that breaks the hash
Merge pull request #3 from toxygene/master

Strip trailing spaces from $command when parsing a job