Add type option to FORTRAN select statements

Also, adds support for "case default".