Makefile: Move all built files to output/ directory

Previous contents of output/ are moved to output/reference
Makefile: Add a rule for generation of various indexes for wiki plugins
Extend the search index with C++ language features