Add enum type
Add a cxxparse function to have clang directly parse some C++ code
Misc convenience fixes