Align with Openfire changes

    Some interfaces have changed packages

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

PT36956563 Additional properties needed for clustering.

PT318571 Changes required for adding mongodb providers to Openfire
Some refactoring needed for DB access
Upgraded monogdb java driver (2.9.0 contained a bug that triggered during my tests)
Set java sources encoding to UTF-8 (one test that used german characters was failing when trying to build RPMs for CentOS)
Cleaned up projects' classpaths (removed references to SIPX_SRC_TOP and SIPX_JAVA_TOP)

Updated lastest Openfire

Fix style -  sipXconfig should  use commons logging factory instead log4j

Fix MongoFactory init when openfire not installed

Fix Mongo intialization for sipXconfig when installing from sources

Openfire integration fixes:
- Generate openfire.properties, replicate through cfengine
- add HA property to relax validator, configurable
- remove unused providers from openfire.vm
- fix openfire service status in sipxconfig page
- remove mechanism for saving properties in OF db

Additional cleanup in OF config file - inject providers as map

Fix admin portal login - use JIDs

Take 2 - try to fix NPE when getting user presence

Changes required by Openfire 3.8.1 API.

Fixed eclipse projects' classpaths

Moved Openfire reference to 3.8.1
Removed unused project dependency

Removed references to jodatime
Merge branch 'im-ha-work' into release-4.6-unstable-17

Conflicts:
	openfire
	sipXcommons/.classpath
	sipXopenfire/config-plugin/src/org/sipfoundry/sipxconfig/openfire/OpenfireConfigurationFile.java
	sipXopenfire/etc/openfire.vm
	sipXopenfire/presence-plugin/src/org/sipfoundry/openfire/plugin/presence/SipXOpenfirePlugin.java