fixed MIFOSX-301 issues and added loan type and template type to loan

Hi Keith,

Added loan type and template type for loan and fixed MIFOSX-301 issues.

Regards
Ashok