implement plugins

This is based on off discussion from https://github.com/dagwieers/unoconv/pull/152