Fix case-sensitivity bug for rmod file names.
Fix scope bug for derived type with array component.
Add fortran_support.h, which was idavertently left out in the preceding commit.
Resolved conflict from merging Dan's latest master.
Merge commit 'c4dea69b670a9989238a74dc29d646563564119a' into HEAD