Fix tolower and toupper.
Fix isxdigit.
Add strcasecmp and strncasecmp.
On strncmp and strncasecmp, handle the max. size being zero and correctly return 0.