MERGE OpenMD development 1783:1878 into trunk
Compilation and portability fixes
Fixed a bunch of stylistic and performance issues discovered via cppcheck.
Added utility to recenter a simulation on the center of mass