[test] moved main.hh -> main.hxx, refs #11
[test.main_header] added

This one should me renamed to main.hh once the deprecation grace period
for the old main.hh is over. The .cxx suffix is there to avoid automatic
test generation for this file.
[lib] added test/main_header.cxx
[test.main] use main_header