Move cnOptions::sanitizeURLBase() to cnSettings.

Adjust the sanitize callack accordingly in cnSettings.