client ifdown, ifup, ifreload statuses correction patch

It contains also client-state correction to allow printing empty client-state structures.
Added new functions: ni_ifworker_array_new(), ni_ifworker_array_free(), ni_ifworker_array_clone().