add tests for DocumentType enum
Merge branch 'integration/master' into test-document-type

Conflicts:
	zanata-common-api/src/main/java/org/zanata/common/DocumentType.java
Merge pull request #1 from zanata/test-document-type

Adds tests for DocumentType enum, and makes a few changes that should not change behaviour.