Add Theano printing support for And/Or logical operators.