Remove unneeded require.
Use standard form of the footer comment.
Fix docstring style errors reported by checkdoc.
Properly tear down the mode when changing major mode.

Unpropertize is now run when changing major mode, so stale highlighting
will not carry on from the previous major mode.
Fix a bug that caused (rainbow-delimiters-syntax-ppss 1) to return nil.