[REFACTOR] domain/subnet dropdowns refactor

This code removes dupliation across host/group edit for primary
nic and additional interfaces.

This is the first step towards removing the old html based js responses
for chained select input