[Extensions] Make it possible to export a custom object
[Extensions] Make it possible to export a custom object

Currently the JavaScript shim receives an "export" object which you are supposed
to add properties. But what if you want to export an object created in the shim
instead? This patch adds support for that: now, by assigning it to an object,
the object gets exported at the root of the API namespace instead of the
"export" object.

PeterWangIntel/crosswalk,bestwpw/crosswalk,tomatell/crosswalk,shaochangbin/crosswalk,darktears/crosswalk,heke123/crosswalk,ZhengXinCN/crosswalk,stonegithubs/crosswalk,leonhsl/crosswalk,bestwpw/crosswalk,alex-zhang/crosswalk,tomatell/crosswalk,minggangw/crosswalk,xzhan96/crosswalk,hgl888/crosswalk,pk-sam/crosswalk,chinakids/crosswalk,ZhengXinCN/crosswalk,hgl888/crosswalk,crosswalk-project/crosswalk,crosswalk-project/crosswalk-efl,weiyirong/crosswalk-1,leonhsl/crosswalk,darktears/crosswalk,amaniak/crosswalk,jondong/crosswalk,jpike88/crosswalk,jondong/crosswalk,weiyirong/crosswalk-1,crosswalk-project/crosswalk,hgl888/crosswalk-efl,baleboy/crosswalk,tedshroyer/crosswalk,zliang7/crosswalk,jondong/crosswalk,xzhan96/crosswalk,rakuco/crosswalk,stonegithubs/crosswalk,XiaosongWei/crosswalk,chuan9/crosswalk,jpike88/crosswalk,Pluto-tv/crosswalk,fujunwei/crosswalk,chinakids/crosswalk,RafuCater/crosswalk,axinging/crosswalk,tomatell/crosswalk,chuan9/crosswalk,minggangw/crosswalk,chinakids/crosswalk,jondwillis/crosswalk,tedshroyer/crosswalk,PeterWangIntel/crosswalk,jpike88/crosswalk,jondwillis/crosswalk,hgl888/crosswalk,amaniak/crosswalk,DonnaWuDongxia/crosswalk,heke123/crosswalk,tedshroyer/crosswalk,chuan9/crosswalk,dreamsxin/crosswalk,dreamsxin/crosswalk,tedshroyer/crosswalk,marcuspridham/crosswalk,baleboy/crosswalk,amaniak/crosswalk,DonnaWuDongxia/crosswalk,shaochangbin/crosswalk,fujunwei/crosswalk,darktears/crosswalk,PeterWangIntel/crosswalk,chuan9/crosswalk,baleboy/crosswalk,leonhsl/crosswalk,xzhan96/crosswalk,zliang7/crosswalk,siovene/crosswalk,seanlong/crosswalk,marcuspridham/crosswalk,Pluto-tv/crosswalk,crosswalk-project/crosswalk-efl,marcuspridham/crosswalk,baleboy/crosswalk,DonnaWuDongxia/crosswalk,crosswalk-project/crosswalk-efl,tedshroyer/crosswalk,baleboy/crosswalk,dreamsxin/crosswalk,jondwillis/crosswalk,TheDirtyCalvinist/spacewalk,stonegithubs/crosswalk,xzhan96/crosswalk,huningxin/crosswalk,mrunalk/crosswalk,DonnaWuDongxia/crosswalk,hgl888/crosswalk-efl,leonhsl/crosswalk,huningxin/crosswalk,jondong/crosswalk,xzhan96/crosswalk,shaochangbin/crosswalk,crosswalk-project/crosswalk-efl,myroot/crosswalk,fujunwei/crosswalk,jpike88/crosswalk,Bysmyyr/crosswalk,crosswalk-project/crosswalk,dreamsxin/crosswalk,RafuCater/crosswalk,ZhengXinCN/crosswalk,tedshroyer/crosswalk,weiyirong/crosswalk-1,ZhengXinCN/crosswalk,ZhengXinCN/crosswalk,XiaosongWei/crosswalk,XiaosongWei/crosswalk,zliang7/crosswalk,Pluto-tv/crosswalk,mrunalk/crosswalk,jondong/crosswalk,jondong/crosswalk,lincsoon/crosswalk,Bysmyyr/crosswalk,qjia7/crosswalk,zliang7/crosswalk,minggangw/crosswalk,heke123/crosswalk,jondong/crosswalk,shaochangbin/crosswalk,RafuCater/crosswalk,xzhan96/crosswalk,hgl888/crosswalk,heke123/crosswalk,qjia7/crosswalk,darktears/crosswalk,hgl888/crosswalk-efl,jondwillis/crosswalk,rakuco/crosswalk,crosswalk-project/crosswalk,tomatell/crosswalk,chinakids/crosswalk,chuan9/crosswalk,seanlong/crosswalk,jpike88/crosswalk,mrunalk/crosswalk,stonegithubs/crosswalk,lincsoon/crosswalk,marcuspridham/crosswalk,dreamsxin/crosswalk,XiaosongWei/crosswalk,amaniak/crosswalk,stonegithubs/crosswalk,leonhsl/crosswalk,fujunwei/crosswalk,jondwillis/crosswalk,alex-zhang/crosswalk,TheDirtyCalvinist/spacewalk,axinging/crosswalk,axinging/crosswalk,TheDirtyCalvinist/spacewalk,darktears/crosswalk,qjia7/crosswalk,zliang7/crosswalk,rakuco/crosswalk,leonhsl/crosswalk,siovene/crosswalk,DonnaWuDongxia/crosswalk,alex-zhang/crosswalk,minggangw/crosswalk,lincsoon/crosswalk,lincsoon/crosswalk,PeterWangIntel/crosswalk,hgl888/crosswalk,pk-sam/crosswalk,axinging/crosswalk,alex-zhang/crosswalk,tomatell/crosswalk,axinging/crosswalk,mrunalk/crosswalk,zeropool/crosswalk,hgl888/crosswalk,huningxin/crosswalk,mrunalk/crosswalk,siovene/crosswalk,tomatell/crosswalk,baleboy/crosswalk,heke123/crosswalk,myroot/crosswalk,PeterWangIntel/crosswalk,pk-sam/crosswalk,zliang7/crosswalk,heke123/crosswalk,hgl888/crosswalk-efl,RafuCater/crosswalk,marcuspridham/crosswalk,rakuco/crosswalk,Bysmyyr/crosswalk,TheDirtyCalvinist/spacewalk,hgl888/crosswalk-efl,darktears/crosswalk,amaniak/crosswalk,zeropool/crosswalk,Bysmyyr/crosswalk,bestwpw/crosswalk,zeropool/crosswalk,ZhengXinCN/crosswalk,mrunalk/crosswalk,huningxin/crosswalk,lincsoon/crosswalk,jpike88/crosswalk,baleboy/crosswalk,weiyirong/crosswalk-1,heke123/crosswalk,zeropool/crosswalk,seanlong/crosswalk,bestwpw/crosswalk,minggangw/crosswalk,alex-zhang/crosswalk,rakuco/crosswalk,DonnaWuDongxia/crosswalk,crosswalk-project/crosswalk,leonhsl/crosswalk,chinakids/crosswalk,qjia7/crosswalk,Pluto-tv/crosswalk,dreamsxin/crosswalk,zeropool/crosswalk,axinging/crosswalk,seanlong/crosswalk,jondong/crosswalk,RafuCater/crosswalk,pk-sam/crosswalk,shaochangbin/crosswalk,PeterWangIntel/crosswalk,jpike88/crosswalk,bestwpw/crosswalk,axinging/crosswalk,amaniak/crosswalk,siovene/crosswalk,darktears/crosswalk,siovene/crosswalk,huningxin/crosswalk,heke123/crosswalk,xzhan96/crosswalk,XiaosongWei/crosswalk,stonegithubs/crosswalk,myroot/crosswalk,zliang7/crosswalk,zliang7/crosswalk,DonnaWuDongxia/crosswalk,huningxin/crosswalk,crosswalk-project/crosswalk-efl,chuan9/crosswalk,tomatell/crosswalk,fujunwei/crosswalk,crosswalk-project/crosswalk-efl,TheDirtyCalvinist/spacewalk,tedshroyer/crosswalk,ZhengXinCN/crosswalk,crosswalk-project/crosswalk-efl,stonegithubs/crosswalk,rakuco/crosswalk,amaniak/crosswalk,hgl888/crosswalk,zeropool/crosswalk,pk-sam/crosswalk,Pluto-tv/crosswalk,Pluto-tv/crosswalk,jondwillis/crosswalk,qjia7/crosswalk,zeropool/crosswalk,chuan9/crosswalk,marcuspridham/crosswalk,weiyirong/crosswalk-1,siovene/crosswalk,crosswalk-project/crosswalk,Bysmyyr/crosswalk,seanlong/crosswalk,Bysmyyr/crosswalk,minggangw/crosswalk,bestwpw/crosswalk,minggangw/crosswalk,hgl888/crosswalk-efl,darktears/crosswalk,myroot/crosswalk,myroot/crosswalk,RafuCater/crosswalk,alex-zhang/crosswalk,crosswalk-project/crosswalk,lincsoon/crosswalk,baleboy/crosswalk,Bysmyyr/crosswalk,myroot/crosswalk,weiyirong/crosswalk-1,weiyirong/crosswalk-1,alex-zhang/crosswalk,bestwpw/crosswalk,jondwillis/crosswalk,hgl888/crosswalk-efl,pk-sam/crosswalk,marcuspridham/crosswalk,rakuco/crosswalk,Bysmyyr/crosswalk,siovene/crosswalk,Pluto-tv/crosswalk,TheDirtyCalvinist/spacewalk,XiaosongWei/crosswalk,dreamsxin/crosswalk,seanlong/crosswalk,lincsoon/crosswalk,qjia7/crosswalk,fujunwei/crosswalk,chinakids/crosswalk,xzhan96/crosswalk,lincsoon/crosswalk,rakuco/crosswalk,minggangw/crosswalk,RafuCater/crosswalk,fujunwei/crosswalk,crosswalk-project/crosswalk,shaochangbin/crosswalk,PeterWangIntel/crosswalk,hgl888/crosswalk,XiaosongWei/crosswalk,marcuspridham/crosswalk,pk-sam/crosswalk