update tests for cidr and cidr6
add cidr and cidr6 support to get_type
update readme
Merge branch 'cidr'

This closes #4