Fix string version of begins_with

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Adding unit tests for begins_with

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Merge pull request #147 from vinzenz/string-improvements

begins_with string version fix