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
Merge pull request #170 from mpath/ipam_strats

Quark ipam strategies implemented