fix get scala version error #Shark-219#

${SCALA_HOME}/bin/scala -version | awk '{print $5}' will tell us that the version is "Scala code runner version 2.10.3 -- Copyright 2002-2013, LAMP/EPFL"  rather than "2.10.3"  . Consequently,  the condition "if [ "$SCALA_HOME_VERSION" != "$SCALA_VERSION" ] " will never be true.
Merge pull request #311 from CrazyJvm/patch-1

fix "get scala version error"  ---  issue #Shark-219#