js: add tests
- BrowserTestExtension/tests:
- decryptTest.js: Check Decryption and return values of binary data
- encryptTest.js: Return data type of armored/non-armored encryption
- added a small encoded input png for testing
- DemoExtension/maindemo.js: Fixed unexpected usage of the Demo encrypt (non-armored)