XX-10933: Regions: Oplog fails to replicate when operations are without "_id"

- check if "o" has an "_id" element; operations like config and index creation
XX-10932: Region registrations are not globally replicated upon initial configuration

- restart mongo sync in case mongo-local.ini or mongo-client.ini changed
UC-2200:
* Changed time parameters from int to unsigned long.
* Added expireTime on all queries for unexpired records
* Added 500 response code for successful registrations that produced no contacts from regdb
* Adjust subscription database function calls to prefer primary
* Added shardId in subscription database expiration removal
* Improved logging
UC-2270: Exception when accessing Diagnostics->Registrations page

- related to expiration time type changed to NumberLong introduced in UC-2200
UC-2271: Region Deleted registrations are not globally replicated

- oplog should return order of docs written on disk to reassembly proper sequence
e.g. phones register with provision id and then unregister imediatelly, so both operations are passed in the same oplog window
if the 2 operations are reversed then will end up with a stale registration in global db
UC-2270: Exception when accessing Diagnostics->Registrations page

- there could still be registrations in old format, handle case when Integer
UC-2283: Calls fail after server reboot in a partitioned region

- use nearest read concern for registrations and subscriptions in case region configured (If region partitioned from global replica set then primaryPrefered read concern will try to direct queries to global primary which is not available)
UC-2286: Mongo is initialized too late (after proxy and registrar services)

- move config services startup after mongo
- ammend spec files so un RPM post install will reset run level if service enabled

startup order:

S90mongod

S91sipxlogwatcher
S91sipxsupervisor
S92sipxconfig

S93sipxrelay

S96sipxfreeswitch
S96sipxsqa

S97sipxproxy
S97sipxregistrar
S97sipxivr
S97sipxacccode
S97sipxpage
S97sipxprovision
S97rest

S98sipxcdr
S98bridge
S98park
S98sipxpublisher
S98sipxrecording
S98sipxsaa
S98sipxrls

S99openfire
S99sipximbot
UC-2286: Mongo is initialized too late (after proxy and registrar services)

- fix supervisor and log watcher startup
UC-2286: Mongo is initialized too late (after proxy and registrar services)

- start relay early so it could reserve ports
UC-2286: Mongo is initialized too late (after proxy and registrar services)

    - start supervisor late and give sipxecs services the chance to start clean. Note: on reboot sipxconfig will show a job status failed since supervisor does not run
XX-10944: sendmail does not start on machine reboot

- make sure postfix is stopped, restart sendmail in case postfix was running
UC-2302:10 seconds delay when leaving or retrieving a VM, with Default region partitioned

- reorder MWI servers so local one to be always preffered for sending out NOTIFYes (that is put it first in the list of servers)
UC-2302:10 seconds delay when leaving or retrieving a VM, with Default region partitioned

- respect order of nodes written within sipxivr.properties, local node / region is always first
UC-2308: Calls downtime when a server, inside a partitioned region, losses network connectivity

- query Entity Db with a timeout of 5 seconds - due to https://jira.mongodb.org/browse/SERVER-12583, avoid hanging query until socket timeout (minutes)
UC-2306: Delay when trying to place calls after server reboot/shutdown in a partitioned region

- CallerAlias: query gateway in database only if external one, that is contains sipxecs-lineid; query user caller id only if needed, that is external gateway that allows user caller id rewrite. For an internall / incoming call that goes to voicemail this check will save us for making 6 queries that are not needed
UC-2321: Leaving a VM from a region to the Default region requires a server reboot
XX-10955: special chars in voicemail subject breaks user portal page

- html escape subject of voicemail
UC-2142: PSTN Call Failure / sipXbridge restart required

- revert Alert-Info default value to be compliant with standard
XX-10897: Registrar used old openfire presence URL

- rename all sipx-openfire-presence occurences to sipx-openfire