Corrects and optimizes migrate_imagefield method.

* New object attribute for the image field was always 'image' and not the
  destination field name.
* Same problem for the caption field.
* Some comments.