allow extraparam in getSql and cleanup parenthesis in extjsWhere