Added missing 3d-image enforcements

Some functions with mask arguments did not complain about iterables of niimg-like objects.

attempts to address #302 
assert_raises is still used in test_auto_mask(), which is not touched by this PR.