Add several extension points (for nxml-mode)

Closes #10