Added Spec trait, test dependencies.
Merge branch 'master' into wip-json
Added JSON formatters for InetAddress, +tests

Also refactored helper methods for constructing valid IPv4 and IPv6 addresses.