Get Messages from a Queue: Enabling Long Polling using the 'wait' parameter

This would allow both getMessage() and getMessages() to receive an integer `wait` parameter which will enable Long Polling on the Queue up to 30 seconds.