Fix "imresize does not work with size = int"

Solution from http://mail.scipy.org/pipermail/scipy-dev/2010-July/015132.html

Also adds test_imresize4.