Fixes #343 - Use flash:error event in issue model.

r? @magsout