fix improper handling of fun.apply(null,...)

	- fix improper handling of fun.apply(null,...)
	- add regression test for fun.apply(null,...)

fun.apply(null,[]) was being handled incorrectly and it was causing an error in the sunspider benchmark `string-unpack-code.js`. This fixes that, however there is another problem in the benchmark.