WL#1683: Add message pool for sql_manager thread

Affects: Server-7.1   —   Status: Un-Assigned   —   Priority: High

Change the sql_manager thread to use a queue of messages instead of using a
signal bitmask as it does today.  This will make the manager more suitable for
complex task in the future.