Changed validation rules with string length to use str class which handles multibyte characters

Signed-off-by: Derek Myers <arcticpro@gmail.com>
Merge pull request #1337 from dmyers/1.6/develop

Changed validation rules with string length to use str class