Add built-ins for IPv4 address conversion

* ip4_to_long converts a string in format a.b.c.d/N into two longs: one with binary representation of the IP address before the slash and another one with the network mask that contains N bits.

* long_to_ip4 converts a long back into a dotted-notation IP address.