Changed the way of handling of external fcns in the CGT...

... and fixed a bug in ExportAcadoFunction
    (which can be "external" btw)