adding wait timeout for xqueue
adding wait param to other calls
Merge pull request #1319 from edx/jarv/add-wait-timeout

Jarv/add wait timeout