Fixed a bug in the mesos module that caused spaces to appear in the HAMA_HOME path when hama was deployed in mesos tasks.

git-svn-id: https://svn.apache.org/repos/asf/hama/trunk@1607244 13f79535-47bb-0310-9956-ffa450edef68