Include force groups when serializing forces

I entered a bug report on this and the other serialization problems:

https://simtk.org/tracker/index.php?func=detail&aid=2005&group_id=161&atid=435