Adds rectangle mask method to gammapy.image.utils and unit test