Actually match Markdown Extra for IDs on multiline headings.
Update tests, and strip trailing space from id'd multiline headings.