DHCP - fixes, improvements, optimizations

* added additional validation for DNS form (one PTR is required now)
* added additional validation for DHCP form
* dhcp config - fixes for networks and entries
* dhcp config - optimizations

```
Ran 318 tests in 72.088s

OK (skipped=17)
```