Refactor remaining protocol-plugins to become add-ons

The refactore plugins are:
- pin compare
- generic crypto

Further changes are:
- rewrite of singleton pattern in AddonManager