Re-implement flycheck for syntax errors

Closes #66

Revert "Remove syntax checking feature preview from README"

This reverts commit ff662301950bf13175114843e27efd4599774b4f.