Add a custom variable to perform a syntax check only when a file is saved

Hi Sebastian,

This PR adds a custom variable to perform a syntax check only when a file is saved.
This is an attempt to fix the [issue #126](https://github.com/lunaryorn/flycheck/issues/126).

Cheers,
syl20bnr