Add Fortran syntax checker

Extracted from #414, with

- warnings option,
- layout option,
- test cases,
- and docs