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.