Expectation propagation as a way of life: A framework for Bayesian inference on partitioned data