Make PipelineParser report syntax errors
Refactor in CommandParserBase

It looks somewhat weird for isValidCommandSymbol to return true for an
empty string.
Make CommandParserBase report invalid symbol error