Fix anchored regexes and ipv6 format on Windows

Maybe should have made 2 pull requests. This branch fixes:
- `pattern` and `patternProperties` regexp matching to be unanchored
- ipv6 format checker to only be added when `socket.inet_pton` is available (#57)