[Caching] Adds some checks for overflow and valid bounds on heap indexes.
Merge pull request #655 from zgramana/master

Adds MemoryCacheEntryPriorityQueue heap index checks