API work package description formatting

https://www.openproject.org/work_packages/13560
This one will break as ```exec_macro``` will call render which is only defined if the module is included into a view.