More documentation and cleanup

Normalized use of std namespace (no more 'using std::' in headers)

Added more doxygen docs

Added a test_apps target to the makefile, to at least verify
that some apps compile