Added generic instances to data types
Added support for older GHCs
Missing generic instances for IPv4 and IPv6
Merge pull request #10 from jcristovao/master

Added generic instances to data types