Validate literal types

Add validation for ip addresses, ip subnets, l4 ports, and uuids.

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Remove obsolete API mocks

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>