IPAddressWithMask should have a contains method taht can take any IPAddress
add exception test
fix null NPE catch
return false for incompatible ip versions
use preconditions
Merge into master from pull request #287:
LOXI-55: IPAddressWithMask should have a contains that can take any IPAddress (https://github.com/floodlight/loxigen/pull/287)