UploadAttribute enhancements.

This patch begins the process of properly fleshing out the "dirty"
attribute for UploadAttribute objects. It is unfinished.