add methods isspace(), isalpha(), isdigit(), isupper() and islower() to str

Addressing issue https://github.com/micropython/micropython/issues/634 .