A General Framework for Constrained Bayesian Optimization using Information-based Search