Helper function to convert IP addresses.
Hash with uid now also.
Merge branch 'netgroups_uidpolicies' into netgroups

New convenience functions for ip addresses and per-uid nid policies.