Add category slug as data-attribute to category link

Additionally, this way we only have one call to cat_link and could
probably remove the macro.