make java 6 the min supported version, fix build and bring in fixes from https://github.com/pjfanning/xmlbeans/blob/trunk/CHANGES.txt

git-svn-id: https://svn.apache.org/repos/asf/xmlbeans/trunk@1832298 13f79535-47bb-0310-9956-ffa450edef68
37 files changed