Added validation for fqdns instead of just hostnames

is_fqdn should accept only alphanumeric characters, periods (.), and hyphens (-). Total length must be less than 255 characters.

Can be tested by submitting an overly long or invalid hostname through luci-commotion-dash