add a context to force 2 pass algorithm for topNs
Merge pull request #557 from metamx/context-force-2pass

Add a context to force 2 pass algorithm for topNs