Fix two bugs:
Creating/editing non-issue_priority enums was failing
Giving an issue priority an empty name was not giving a useful error (500 rather than flash).
Merge branch 'issue_priority-fixes' of https://github.com/blrnw3/redmine