Added missing 3d-image enforcements

Some functions with mask arguments did not complain about iterables of niimg-like objects.

attempts to address #302 
I am guessing the assert_raises import is not necessary any more