Use registerHeader in Textile reader.

This produces automatic header identifiers, unless `auto_identifiers`
extension is disabled.

Closes #967.