Fix OpenSim namespace doxygen.

This restores the documentation for many classes. This addresses #144.

I also changed the header guards in most of these files.

In general, I did *not* edit the documentation itself. It is possible that I am
now exposing *incorrect* documentation. I fixed at least one documentation
mistake, but did not look for errors.