Catch unterminated class/constructor bodies

Previously, an unterminated class body would cause the parser to spin
indefinitely at the end of the file. Now, it will raise an error and
suggest closing the body with a brace.