Simplify DNS validation checks

Move DNS length checks to util/validation.go.  Make the max subdomain be 253,
which is what the RFC actually says.
Merge pull request #375 from thockin/valid/dns_lengths

Simplify DNS validation checks