ConTeXt writer: improved autolink detection.

It previously failed in some cases with escaped special characters.
HTML writer:  use 'uri' or 'email' class for autolinks.

This allows them to be styled specially.

Closes #1501.