fix function properties

Fixed up the lexer, so it could handle function properties of the form:

property var functionProp: function (arg1, arg2) { return arg1 + arg2; }