jQuery Promise helper for loading images. Can be made to behave like jQuery.ajax.