Util: fixed several warnings.
Azoth VB: removed unused variable.
KT: removed unused variables.
NSM: avoid ambiguity in if/else.
PY: removed unused variable.
Dolozhee: support priorities in issues, closes #1102.
Azoth Xtazy: check all fields before considering stopped state.

Fixes #1093.