Adding a networks module to openstack-common

As determining IP from a given interface name is probably
something that would be useful across repos, add this functionality
to a central place. Where better than here?