Value_template support in Bayesian sensor

The Bayesian binary sensor currently only supports state and numeric_state platforms. While, this is great, it greatly limits the way we can use the sensor. A simple addition of value_template will significantly increase the utility of the sensor.

value_template would allow us to add complex conditions that are not possible without adding additional temporary sensors.