Fixes #186.  Also added method to ModelObject that print the object's
subgraph.
Merge pull request #214 from jpav/master

Fixes #186.