Adds cross-domain communication with games

Partial support; calling into the game from CODAP is more compicated than I thought. (Though I have worked out a solution)