add router node
add tests
clean up failure scenarios
Merge branch 'master' into router-node
address code review comments
Merge pull request #433 from metamx/router-node

Client-side tier-aware query runner