Added attribute support for inline and ref links.

Syntax is [alt](url){{json}}.  Must use formal json eg
[alt](url){{"class": "btn"}}.