Display calculated image/document/snippet usage 

When editing a document, image or snippet, display a count of the number of times it is used in the top right-hand corner. The usage count is a link to a new page containing a table of pages that use the item.

See #146
Could we give this a better name? Also, the ``self`` parameter here doesn't make sense