CLOUDSTACK-5826: do netmask/gateway validation before calculating the POD cidr

Conflicts:
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	utils/src/com/cloud/utils/net/NetUtils.java