Check reply from lircd after sending a key press / corrections

Corrections of https://github.com/szemate/stb-tester/commit/24afef23fce5bbfa061e53dbab0c321788bbabc8; in a new pull request in order not to make the original review comments disappear.