Core: added helper to inject Google Analytics javascript for a given account,
and added callbacks into the portal and registry footers.

*** This change requires an update to your global_config.php ***