Validator: implementation of CIDR block validator. Refs #2764
NethPlatform: Added CIDR block validator shortcut. Refs #2764
Validator: fixed CIDR block validator. Refs #2764

Trailing garbage case was not covered.
Fixed also validator error message.