Validate New URL against whitelist in database

Whitelist copied from Bouncer.
Extract hostname validator
Add validations to WhitelistedHost