More fine-grained AD domain name validation checks.

Do not complain about NetBIOS and DNS hostname if there is no dot in
domain name.

Change-Id: Ia11efcb1b51f53c89dc0899a9b34ca150f5d7534
Closes-bug: #1250823
Merge "More fine-grained AD domain name validation checks."