Fixed a TODO in resource mapping driver

Validate explicit port's subnet is same as the subnet of EPG. Also added a UT for the same.

Thanks to Ivar for many suggestions!

Change-Id: I86bb8010a5a03cb7ce9c1891eabf824829a73e76
Partial-Bug: 1382143