Add ability to filter by priority

Also update/create priority on an issue

Unfortunately python-redmine doesn't currently
allow filtering by priority_id, so we can do
a list comprehension

Fixed some small flake8 issues also