Typescript and API upgrade
This PR contains a lot of heavy lifting:
- switch to TS
- add a real logger
- organize the monorepo (lerna, yarn, etc...)
- setup documentation (typedoc)
- fix linting issues
- add decorators support
- lots of cleanup
- new function for Blockthday
- confmgr support
- upgrade to the latest polkadotjs
Edited by Will