PT47131989 - Zendesk #367 SAA stops working

The issues appeared when subscriptions were refreshed, that is once per day. After refresh
the subscribe mappings were deleted so SAA could not remap the new subscriptions to proper
handles. This was fixed and now the subscribe mapping is not deleted anymore so the reg
subscription can find the proper handle after it is refreshed.

Termination of SAA appearances to phones was improved so that the appearance handler is
deleted only after the parent subscription was ended - this also cleared out some error messages.

Changed the log level to ERR for some log messages.
PT42357515 - mongo replica set config should be captured in snapshot

- use tojson instead printjson
Merge branch 'sqa-ha' into release-4.6
PT47078297: iptables blocks tftpd

- do not use ESTABLISHED, use only NEW state in case of udp rules
PT42411863: deleting and re-adding same user problem with IM ID

- do not publicate save user event when user with speed dials deleted. It's not needed and  will trigger save in user profile db
PT46534249 - Callpark - The call is not connecting to call park extension

Collateral bug because of commit 917ebe4d0be3455c97888805ea9397fa25e49156.
Because the initialization of sipXpark was split in two code blocks some
variables which were allocated on the stack in the first block were going
out of scope in subsequent code blocks making the functionality unstable.

This broken behavior was fixed by rejoining the code blocks in one large block.
PT46959457: IM Messages not being logged

- log messages in /opt/openfire/logs
PT-47008679 - Add reset keys button to ui
PT46959457: IM Messages not being logged

- log messages in /opt/openfire/logs
Merge branch 'release-4.6' of github.com:dhubler/sipxecs into release-4.6
PT47295593: Remove ACD Agent Supervisor tab in edit user page
PT46835537: Can't always set ftp upload directory

- use net/ftp ruby library for backup / restoring to ftp server
- decide on the library to use ftp / sftp based on input uri; instantiate SftpFileManager and FtpFileManager acordingly
- improved UI ftp / sftp URL setting description
PT47250241: Change Login Page to use Password not PIN
fix precommit
PT46564081: Bria cmcprov and LDAP authentication

- use the same authentication chain as sipxconfig
PT-45405027 - added support for VVX 300/310 400/410
PT46564081: Bria cmcprov and LDAP authentication

- authenticare user aliases too
PT45739729: sipxbridge startup sequencing problem

- change priority so relay start before proxy and bridge
PT47569247: IVR Transfer Failures

- in case of deposit action, always bridge call to the same FS instance that originally handled the call.
Required for deposit action only as for other actions like retrieve, fax, MoH and AA this is handled in mapping rules.
PT47609483: Continuous increase of memory usage in sipXproxy related to Homer

- check if no mem leak in Asio