added Key.isValidInput() + some tests
[AESH-132]
better semicolon handling
+ fixed parser bugs when no data was given after redirections