place callout list inside example element

This patch puts the callout list inside the example element, eliminating the necessity of the awk script to reorder the elements.
- lookahead to find callout list in listing template and render if found
- add callout list template
- set attribute to avoid rendering callout list twice

You should get an idea from the code in the listing template how you can access other elements in the parsed document for similar requirements.