Added refcount column to image table.
Authored by: epandurski 2010-06-10
Parent: [r845]
Child: [r847]