Add demo for Monte Carlo estimation of pi

See README.rst for explanation.
Add client as attribute to context.