Fix for subString indexOutOfBound exception and DB export.
Merge remote-tracking branch 'origin/master'

Conflicts:
	src/resultphrase/RoutePhrase.scala