various fixes for tests
various fixes for tests

- apparently all objects evaluate to NaN in Flash 7
- handle error case ValueToObject == NULL in CallMethod
- walk the whole scope chain in CallFunction when trying to find the function

freedesktop-unofficial-mirror/swfdec__swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,freedesktop-unofficial-mirror/swfdec__swfdec,mltframework/swfdec,mltframework/swfdec