Fix DOT bugs, DOT deserialization passed test

- Fix DOT bugs, DOT deserialization passed test
- Rearrange files, put test in separate folder, rename boss-wave folder to bosswave
- Define DOT_TOPIC_PERM_PREFIX in dot.h
- Update Makefile
- Add empty core.c and core.h