fix for #334
fix for #335
Merge branch 'docapp' of github.com:marklogic/RunDMC