Add support for the extension module in the parser.

The parser can be resumed after resolving parse errors
(it is up to the extension module to do that).

The extension module test still fails since the compiler part has not yet been implemented,
and the tests run at a functional level instead of unit level.