Add logging to encryptor class

Make it really easy for encryptors to log sensibly. These were in the gpg encryptor but really belong in the base class.

Also refactored `plugin_classname` for reuse.

Passed the cucumber test suite for me.