Stop using __{lookup,define}{G,S}etter__

This changes copyProperties to use ES5 instead of the proprietary SpiderMonkey
APIs.