Correct sprintf that outputs the category classes in the shortcode.
Make the $sep and $seplocation attributes optional.

Closes gh-214