FC-39 FC-34 FC-42 FC-40 FC-41 FC-32 Added app instance lifecycle handling for blue-green deployment

Added system message handlers to manage application instance lifecycle, for application participating in blue-green deployment. Also added some preliminary changes for configuring number of worker threads independently for each message listener thread pool.

Signed-off-by: Steffan Westcott <steffan.westcott@clicktravel.com>