Support parsing of local variable declarations

The decision between an expression statement and a local variable
declaration is the only place where we currently have to look ahead. The
lookahead is implemented in isLocalVarDecl() and is pretty ugly. There
ist potentially a much better way to implement this