Added missing 3d-image enforcements

Some functions with mask arguments did not complain about iterables of niimg-like objects.

attempts to address #302 
The variable name appears to be misleading, it's passed on as 'mask_img' a few lines below.