Get rid of custom state machine class

Use the nested_sm attribute to create a nested state machine, and attach
inliner and reporter to the context.  For this, use a proper context
class now.
Ignore jumps beyond EOF

Fixes parsing definition lists at EOF