Added troubleshoot to TestHelpers for future debugging.
Converted map and set to use foldl instead of hand folding.
Initial implementation of queues: note that the 3 server test is not reliable, as the client frequently gets a timeout and thus retries, resulting in the cluster more operations than it should.