Fixes undefined comparison and tracing.
Adding/removing some swfdec tests.
Remove global `log` and `warn` functions

... and use console.{log,warn} instead.
Merge pull request #1868 from yurydelendik/avm1-swfdec

Fixes several swfdec AVM1 tests