Modified WalltimeErrorHandler so that it is able to stop for an electronic step (if asked for it). Default behavior is to stop at the next ionic step. Stopping at electronic steps can be useful in case of large systems or HSE computations (in which one scf step can last long)