Added url for category view.

Fixed ForeignKey for Blog categories and posts.