Quark ipam strategies implemented

Adds configurability to quark ipam adding three options: "ANY"
(default), "BOTH", and "BOTH_REQUIRED". Version-based IP selection
occurs per-network based on this setting.

Implements RM#2606