Modified Blog.cs GetCategories() to take into account post published status

Modified Blog.cs GetCategories() to take into account post published status or authenticated user status when returning results.  Prevents unpublished posts from contributing to the category count for unauthenticated users.