Remove duplicate Dispatcher code in examples

The npm package works very well now, and I think the actual dispatcher
code in the flux package should be a good enough example for people who
would want to implement their own dispatchers.

This commit removes the duplicate Dispatcher and dependent invariant
code in favor of using the npm packages.