drop to pdb only when BEHAVE_DEBUG_ON_ERROR is set

stolen from
https://pythonhosted.org/behave/tutorial.html