make types dict a constant
improve IPv4 address detection
value_type kwarg should be None by default
rephrase and format docstring
reorder imports
remove Bits type for now

since we can't convert it back to native yet
whitespace
provide hint for supported types
use isinstance() for type checking

so it works on string subclasses and such
reorder methods alphabetically