fix Edoc generation for API

* spread -spec to make Edoc happy (in boss_mq.erl)
* update use of erlydtl:compile to latest changes