Multi mask resample

Compute_multi_epi_mask now offers to resample image. Fix issue #48 
Also changes parameters in masking functions to take mask as niimg instead of 3D ndarray.