Codce clean up and css class addition.

Cleaned up some code and added in a new class cfor category and tags.

[Branch: development]
Added checks for categories and tags

We should not show categories or tags if there are no categories
or tags assigned to the post.

[branch: development]