Bumping version number
Merge pull request #1484 from github/cut-release-v3.1.2

Bumping version number
Add FORTRAN samples.
Add Forth extensions .f and .for; add heuristics for Forth and FORTRAN.
Update samples.json.