libmn.h: move libmn.hpp into libmn.h

There should probably just be one header.
libmn: implement libmn::main() and use it in C++ examples