added curry shortcut for list_of
added function to parse links in the [[]] format
ref links can contain [[]] links
don't parse [[ links as generic text
add debug handler to link parser
replace parse_ref with parse_link
links can be [] too
ref link attributes are now be parsed with any name and in any order
ref link attribute values can contain dashes and ampersands