Support operators and functions in SQL expressions

Added support for binary relational and arithmetic operators and
also function calls. Unary functions not supported yet.