RM7213 Added IPPolicyCIDR.{first_ip, last_ip}

* Tested against production dbs.
* There was a bug in master when comparing it to the changes I had made, thus 2 commits instead of one (I had got the boolean sign wrong for allocated IPs). 

causing the test failures, since it is already in requirements.txt