added support for passing function pointers between AS and JS
Fixed bug in Compiler.stringify handling undefined values in Arrays.

Change-Id: I6dc8b9978875d85aeef100d74415061192eab1fe