Fix for nil errors on several pages

This commit fixes error 500 on
* issue list (when there were issues without category)
* issue show (same)
* project settings (missing reference to helper)
* create/edit category (empty category object included in @project.issue_categories because of 'build' in controller method 'new')