Move JS out of string_test.html and into string_test.js

R=nicksantos
DELTA=2152 (1090 added, 1058 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6243


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2497 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Replace calls:
goog.mixin(x, new goog.events.EventTarget());

with:
goog.testing.events.mixinListenable(x);

The former will no longer works when we flip the @define
goog.events.Listenable.USE_LISTENABLE_INTERFACE to true.

Please review that the change is as intended above. Since this
is done automatically (with multiple spot-checks), there may be cases
where the output is not as expected. Let me know if you spot any
and I will fix it.

This is part of goog.events leaking listeners elimination
effort

R=mschidlowsky
DELTA=2 (1 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6244


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2498 0b95b8e8-c90f-11de-9d4f-f947ee5921c8