RM7212: Fix allocation_pool construction

Start and end IPs of allocation pool were being unnecessarily offset,
which caused an exception when the requested allocation pool reached
the ends of the subnet's CIDR. Removed unnecessary offsets and added
functional unit tests.
Merge pull request #227 from asadoughi/fixrm7212

RM7212: Fix allocation_pool construction