Link to category metadata only when API is enabled

By default settings.API is False, and API urls are not included. The url
reverse on the category page will fail. Fix it by showing it
conditionally, exactly how it is done on the video page.
Merge pull request #258 from squiddy/fix-category-with-disabled-api

Link to category metadata only when API is enabled