added new imageAttribute object type
Added image attribute related things.

Attributes show up on the page and get stored in the xml.
Added ability to delete image attributes.