keytest.py: Allow for LyX window to appear without timeout

Timeout for lyx-process to appear may be significantly smaler.
5 sec. looks sufficient, while lyx-window may take some time
due to configure.py.
Merge remote-tracking branch 'github/build-bot-master' into bleeding-edge-master
2014.08.25-13.00