add module to find vpc id based on cidr, name or tags

Extracted shared code and added a module to get vpc_id.
Added unit tests for the new module.