Added RetryWithBackoffLogic

https://gist.github.com/niik/6696449
added PriorityQueueWithinTimeframe