Fix for gremlin.sh to allow more than 9 parameters

Copied over from a fix to the gremlin.sh in titan (https://github.com/thinkaurelius/titan/pull/513)
Update changelog.