Can we move this logic into KrollProxy? It looks like it's only called from there.  I'd rather have it there to keep v8Object relatively light.  You can also use TiConvert from KrollProxy, so you don't need the toBoolean/toInt methods.