Refactor PCMDI codes

To call PCMDI codes directly in gamil_init.F90, I reshape the driver
codes of 'regrid' and 'bcgen' by changing them to subroutines and adding
'model_bc' module.