Update categories/templatetags/category_tags.py

Added str() to line 49 to fix an error where .strip("'\"") in get_category is getting called on a non-string category_string.