Add base64decode and customEvents into Behaviour
Refactor to support MegaId
Merge branch 'master' of https://github.com/cordjs/core