(Bug 5138) Add property method for Media

This adds a "prop" method which lets you add/change/delete properties
for a given media object. Properties are always set on the media ID and
shared among versions.