Extended support of SyntaxTreePath (not finalized)
Minor fixes in grammar, added support for CASE WHEN statement, etc