Fix connect with Repetier firmware which sends wait when idle, also extend .hgignore + .gitignore

Repetier sends wait when idle.
So Cura never gets an empty line and cannot connect to the printer.
Alternative solution would be sending M105 once (for each baudrate) before waiting for ok.
Also "wait" or any other valid line could be interpreted as being connected?