CSSTidy: Fix the compatibility functions for ctype_space() and ctype_alpha(), which were wrong. Add a compatibility function for ctype_xdigit() which is used in CSSTidy but didn't have one yet.