bunch fixes to various functions so they're more consistent and functional
remove few oldstyle example outputs out of the way
count something in countclassesmatcing() example that always matches
merge some of the more verbose examples from core/examples back to the source so I can reparse them
change classmatch expression to get a hit
split examples to core/examples and add outputs
Merge pull request #269 from teroka/func_example_split

Use macros to inject example code and output into documentation.

Include both the example source code and the example output via `CFEngine_include_snippet`.
Code and output live in the same .cf files.