#294 use SMO to preserve order for nested entries
Merge branch 'docapp' of github.com:marklogic/RunDMC into docapp