cleanup public headers

- make them self-contained by including mkd64/common.h first
- move all other includes after the class forward declaration