Implementation of is* for strings.

Implementation of isalnum, isalpha, isdigit, islower, isspace, istitle and isupper.
Style nit: I think we should definitely have braces for this for loop, especially because it's multiple lines.