HUE-1420 [core] Migrate common_footer from html to mako

Converted dict to object for improved readibility