Doxyfile to create auto doc, index file for web.

(cherry picked from commit 3cd28467ce4615ee5fa667aeda2c409ff40ec357)
@mainpage in main.cc, better Doxyfile

(cherry picked from commit 9b5eb18ab24fb19447c07ba821c558f080943fe1)