Pluggable Preview Processors.

Adds a registration pattern for preview processors that is more flexible and will allow
for more usage patterns.

Preview images are now associated with revisions as well.