Implement some IPAddr extensions.

Specifically, #prefix_length, #cidr_block?, and #cidr_notation.