Remove ctype extension dependency (use OS check); issue #946
Allow forward slash on Windows as this is converted automatically to backslash even if at beginning of path
Fixes #1023

[BC BREAK]

The numeric comparator is no longer invoked when provided with two strings.
Merge pull request #1026 from Tatsh/remove-ctype-dep

Remove ctype dep
Formatting.