Correction of a mistake when the user enter a IP address, he can only enter CIDR networks and not IP addresses like 127.0.0.1
Added function tests for this branch
Merge branch 'cidr_network' into dev