Added additional "escape" layer for event "args"

in order to work with "'" in the String,
as encodeURIComponent does not escape "'".
Also updated unit test.

Fixed https://github.com/blackberry/BB10-WebWorks-Framework/issues/385

Reviewed by @erikj54
Tested by @ericleili