Add validation of Ports

Also do caseless compares for "enum" strings.
Validation of HostPorts and Manifest IDs

Check that HostPorts are unique across the whole host and that Manifest IDs
are unique.