WalltimeErrorHandler with electronic steps

Added the possibility to stop at the next electronic step, if runtime is near walltime. This is useful for e.g. static runs on large systems or static runs within HSE where the time for one SCF step can be large. (Should be used with LWAVE = True)