Raw image mediatype had a non-unicode logging call

Was causing UnicodeDecodeError when file/folder was not ascii.
Fixes bug #935.
Add __repr__ for Collection and CollectionItem
Add new hook 'add_media_to_collection'