Made EncodedResource based variant public; consistently detect XML properties across all variants

Issue: SPR-9078
Avoid UnsupportedOperationEx. with active SecurityManager

Issue: SPR-9970
Merge branch 'SPR-9970' into 3.2.x

* SPR-9970:
  Avoid UnsupportedOperationEx. with active SecurityManager
Completed changelog entries for 3.2.1
Tweak gradle generated eclipse meta-data

 - Change output folders to /bin/main and /bin/test. This prevents
   'gradle clean' from breaking eclipse.

 - Update copyright header for new files to '2002-2013'
Release version 3.2.1.RELEASE
Increment version to 3.2.2.BUILD-SNAPSHOT