XAM based GWT model and unit tests (#12700).

Change-Id: I897d92047fea87bbc439f9658aaaece39d2601d2