add ctype_space(), last_character_of(). update uri_clean for https

added new functions ctype_space() from PHP, and last_character_of()
from HyperTalk.
updated uri_clean to not overescape https URLs.