Add support for processing pan annotations from ant

 panc 10.1+ required to use this feature (quattor/pan#51).

Also use new panc interface for checking template syntax (panc-check-syntax)