Optimized IOLoop for async mongo

Summary:
* Added priority levels to epoll mechanism
* Added synchronous IOStream methods
* Tweaked event processing to be ordered to get better QoS

Test Plan: Load testing on sweeper

Reviewers: josh

Maniphest Tasks: T5540

Differential Revision: http://infra1.corp.contextlogic.com/D9453