Automatic recovery when ESB fails

Summary:
Fixed error with infinite loop when ESB disconnects
Reconnection improvements
Fixed error with no-message-id hello (causes to disconnect when schema don't fit to one chunk)

Test Plan: Stop qpidd and check debug log - endpoint must reconnect to ESB

Reviewers: tikhon-tagunov

Reviewed By: tikhon-tagunov

Differential Revision: http://phabricator.hspu.local/D20
Automatic recovery when ESB fails

Summary:
Fixed error with infinite loop when ESB disconnects
Reconnection improvements
Fixed error with no-message-id hello (causes to disconnect when schema don't fit to one chunk)

Stalled queue recovery workaround (with auto-ack) Late reprocessing for modification queue errors

Test Plan: Stop qpidd and check debug log - endpoint must reconnect to ESB

Reviewers: tikhon-tagunov

Differential Revision: http://phabricator.hspu.local/D26
Fix error in modification queue processing
fixed ;
Dispatcher threading model improvements
Fixed error with 'first'
Double run bug fixed (dispatcher)
Source code formatted fine
em->endpointManager