Fixed up some things C++ complains about:

Type-safe memory assignment was corrected in lots of places.
Put some typedef stuff AFTER its definition.
Corrected some complaints about TWOPT_END().
Merge branch 'cxx'

Now ROSS is able to be compiled with a C++ compiler (prior to this
commit, that had not been the case).