Bayesian Inference and Online Experimental Design for Mapping Neural Microcircuits