Problem: need man pages for main programs

- removed all references to class placement
- documented private option on classes, in project.xml
- added support for public/private main programs <main .../>
- also generate new project header if != class name
- generate man pages for main programs (category 1)