Added support to parse mysql functions in clauses, such as LENGTH(column)>500, and also some general improvements