C++: binary build and showinf fixes

- Clean up use of namespaces and includes
- Add copyright/licence boilerplate

-------

Testing:

- build should be green (will fail if includes and namespaces are incorrect)
- showinf should continue to work (run `./bf cpp/bin/showinf/showinf --help` to verify)