Integrate promise based api for OpenPGP.js 0.8.1