changes to parser enabling CASE statements be handled properly. further fixes to expressions that are bracketed. fix for issue 19