Use new flycheck-define-checker macro
Merge pull request #8 from ptrv/new-flycheck-syntax

Use new flycheck-define-checker macro