Fix documentation errors on jdk8
Merge pull request #62 from cloudant/42597-jdk-7-fixes

Fix documentation errors on jdk8