Refactored metadata handling.
Moved the common parts of GExiv2 and pyexiv2 metadata handlers into the
metadata module, reducing the library specific parts to a simple handler
class.