Add example config file.
Fix missing output directory in common doxygen config.
Add more documentation.