SqsApi: implemented setQueueAttributes and getQueueAttributes
SqsApi: implemented ListQueues
SqsApi: implemented SendMessageBatch
Merge branch 'master' into gclock-write-lock
Made some refinement to the GcLock. Also added a guard against infinite spinning