PROV-920 Fix for incorrect nesting; added --out switch to write output directly to a file
Merge branch 'develop' of github.com:collectiveaccess/providence into develop