Generate man pages with Doxygen

Why on earth do we have manually maintained man pages for API documentation when you can generate man-pages with Doxygen? 

My plan is to:
- Modify Doxyfile to generate man pages instead of html files.
- Remove hand-made man pages.

This change is to be included in v1.0.2 release.