Bonnsai: a Bayesian tool for comparing stars with stellar evolution models