Make Smarty and Profile updating handling fixes to make extension usable
This makes a number of fixes
- Gets rid of legacy jcalendar template reference as not needed
- Fixes the loading of field metadata for grants now that grants is in an extension
- Fixes a bunch of smarty related notices
- Removes references to setting CiviGrant in enabled components as it is not a component any more