A General Bayesian Framework for Informative Input Design in System Identification