Added utilitary method for working with strings.
Fixed bug with registering subroutes
Merge branch 'master' of github.com:Spalax/dojo-common