Implement simple limits in the dispatcher.

This adds Dispatcher to the public API so that application
code can tweak the policy.
Merge pull request #399 from square/jwilson_0104_dispatcher

Implement simple limits in the dispatcher.