fix code after code review by @lunaryorn

See comments on the first commit:
https://github.com/Sarcasm/flycheck-irony/commit/491f81ec797c34fc5b9abacb620d3cc7ee3f1550