Merge branch 'release/3.3.3' into develop
Bumped version for development after release.
Use locale specified from document request when producing document.
Removed unused code that was causing a NPE.
Bumped version for release of 3.3.4
Merge branch 'release/3.3.4'