fix error message on no environment set
add ipincidr lookup

allows for finding the ip that corresponds to a cidr
on the local box.  partial fix for #13