Merge pull request #217 from unwin/develop-ROGER-RDS-TEST

fixes for NPE and cache conflict
releases IP's when the last forwarding rule to use them is deleted.