OPENDJ-1634 CollationMatching rules output an error message with OpenJDK 6

Code review: Nicolas Capponi

Problem is due to the new locales (e.g. "he") which are converted to the old locales (e.g. "iw") on collation matching rules initialization.
Fixing this required registering the old locales instead of the new locales. The config.ldif can continue using the new locales.


CoreSchemaImpl.java:
Added static field JVM_SUPPORTED_LOCALE_NAMES_TO_OIDS and used it in addCollationMatchingRules().
Added static method initializeJvmSupportedLocaleNamesToOids().

git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11316 41b1ffd8-f28e-4786-ab96-9950f0a78031
OPENDJ-1637 Upgrade: server fails to start after upgrade (ClassNotFoundException)

Created empty implementations for the comparators serialized in JE databases.
This allows rebuilding the secondary indexes in JE databases.
Added opendj-legacy maven module to this end, and more generaly to ease future migrations.


git-svn-id: https://svn.forgerock.org/opendj/trunk/opendj@11317 41b1ffd8-f28e-4786-ab96-9950f0a78031