BA::Array: implement writeSubarrayNonzero

Usecase: Using BA::Array as a replacement for lazyflow's
OpSparseLabelArray