Document IPV4 module type and fix a number of inconsistencies.

* ipaddr -> ipv4addr to match udp/tcp
* Add missing gateway accessor
* Clarify ip to ipv4 in function names
Merge branch 'split-libs' of github.com:avsm/mirage into split-libs