Fixes panel async init bug

Encountered an issue where the panel init event was firing before
the HTML contents of the panel were fully loaded.

The bug occured due to an unreliable method being used for handling of
multiple deferreds running in parallel and needing to be resolved
as a whole.
Prevents memory_panel from loading Google JSAPI if alreayd loaded