Remove obsolete macro.

Use include_snippet or include_example macros instead, they are
more powerful and don't require duplication of parsing code.
Generate categories and alias based on filepath.

Remove existing meta data, if hard-coded. This removes the amount
of duplicate data that needs to be manually maintained, and reduces
the possibility for errors when building the categories for the navigation
tree.