Fix transfers to web worker for primitives with self reference as id.
Fixed picking. Added waitsForException function for specs. Fixed Polygon primitive tests.
Remove unneeded calls to runs before call to waitsFor.