Modify Fortran grammars

News:
- Make statement rule accepts any line other than the given rules, so treetop
will ignore those lines.
- Make function has type head and result tail.
Use global config file if project config doesn't exist