Fix constructors to return the created object if the function doesn't.
Fix CFunction calling conventions.

'this' is always argument 0 (even for constructors, where it is null).
argc is the number of real arguments (not counting the 'this' object).

for (i = 1; i <= argc; ++i)
	js_toXXX(J, i);