Added type definitions and tests for underscore.string library