[udesk/dante] Clean up function declaration and symbols.

Add comments and declarations for static functions and some
leftover uncommented functions in dante.h.
Introduce DANTEAPI and DANTEAPIENTRY macros to control dante
function signature and declaration on different compilers.
Currently DANTEAPI is used to reduce the number of exported
symbols on GNUC compilers.