Added slug field to DocumentCategory and list of categories to template context.