added url generator utility for objects and brains.
added metadata update during migration script
fixed bug with image width and height attributes.

Also fixed migration procedure.
set proper width and height attributes during migration
added upgrade step for new version of package