Avoid serialization on code_server in xmerl:export()
Avoid serialization on code_server in xmerl:export()

The inheritance mechanism in xmerl used to use 'catch apply(M,F,Args)' to
try different modules M until one was found that had a function F/A.
However, when M:F/A does not exist, apply/3 will trap to
error_handler:undefined_function/3, which will call code:ensure_loaded(M),
making a synchronous request to the code server process. If many processes
tried to use xmerl:export() concurrently, they would get serialized waiting
for the code server process. This patch uses erlang:function_exported/3
instead to check if M:F/A exists. If M exists, it should already have been
loaded at that point due to the inheritance checking in the
xmerl:callbacks/1 function.

falkevik/otp,g-andrade/otp,getong/otp,vinoski/otp,RaimoNiskanen/otp,mikpe/otp,lrascao/otp,mujiatong/otp,basho/otp,RaimoNiskanen/otp,uabboli/otp,matwey/otp,basho/otp,hairyhum/otp,mujiatong/otp,entropiae/otp,NOMORECOFFEE/otp,legoscia/otp,potatosalad/otp,isvilen/otp,enikki/otp,vic/otp,emile/otp,emile/otp,cobusc/otp,sdebnath/otp,msantos/otp,klarna/otp,potatosalad/otp,aboroska/otp,ferd/otp,falkevik/otp,bjorng/otp,lhslll/otp,RoadRunnr/otp,dgud/otp,GinjaNinja32/otp,g-andrade/otp,Teino1978-Corp/erlang-otp,jamesruan/otp,lantti/otp,hairyhum/otp,hairyhum/otp,dgud/otp,dumbbell/otp,paulcager/otp,emile/otp,sammoth-wazoku/otp,schlagert/otp,jamesruan/otp,krishnakumar4a4/otp,kvakvs/otp,johanclaesson/otp,goertzenator/otp,matwey/otp,GinjaNinja32/otp,paladim/otp,lantti/otp,massemanet/otp,bjorng/otp,vic/otp,potatosalad/otp,vinoski/otp,Teino1978-Corp/erlang-otp,cnbin/otp,marquisthunder/otp,jj1bdx/otp,mikpe/otp,electricimp/otp,fenollp/otp,neeraj9/otp,basho/otp,sammoth-wazoku/otp,gjaldon/otp,potatosalad/otp,tuncer/otp,Teino1978-Corp/erlang-otp,cobusc/otp,riverrun/otp,sammoth-wazoku/otp,paulcager/otp,marquisthunder/otp,theom/otp,bernardd/otp,sdebnath/otp,goertzenator/otp,c-rack/otp,electricimp/otp,theom/otp,getong/otp,riverrun/otp,ferd/otp,stolen/otp,bugs-erlang-org/otp,bjorng/otp,psyeugenic/otp,Teino1978-Corp/otp,vinoski/otp,erlang/otp,sitexa/otp,bernardd/otp,uabboli/otp,enikki/otp,RJ/otp,matwey/otp,psyeugenic/otp,falkevik/otp,benoitc/otp-1,cobusc/otp,paladim/otp,benoitc/otp-1,bsmr-erlang/otp,lhslll/otp,awetzel/otp,release-project/otp,rlipscombe/otp,falkevik/otp,riverrun/otp,vinoski/otp,enikki/otp,basho/otp,platinumthinker/otp,saleyn/otp,saleyn/otp,emile/otp,stolen/otp,bsmr-erlang/otp,goertzenator/otp,tuncer/otp,beni55/otp,riverrun/otp,mikpe/otp,Teino1978-Corp/erlang-otp,VincentHHL/otp,sitexa/otp,potatosalad/otp,emile/otp,aboroska/otp,goertzenator/otp,massemanet/otp,lhslll/otp,jemsbhai/otp,basho/otp,krishnakumar4a4/otp,lrascao/otp,vic/otp,emacsmirror/erlang,yangchengjian/otp,potatosalad/otp,legoscia/otp,palas/otp,johanclaesson/otp,c-rack/otp,beni55/otp,basho/otp,schlagert/otp,aboroska/otp,dgud/otp,RoadRunnr/otp,platinumthinker/otp,vladdu/otp,klarna/otp,rlipscombe/otp,lantti/otp,c-rack/otp,lhslll/otp,RoadRunnr/otp,rlipscombe/otp,RJ/otp,benoitc/otp-1,isvilen/otp,jinshana/otp,legoscia/otp,sdebnath/otp,lrascao/otp,haguenau/otp,bjorng/otp,marquisthunder/otp,aboroska/otp,electricimp/otp,paulcager/otp,johanclaesson/otp,lianghaivv/otp,ferd/otp,ader1990/otp,bugs-erlang-org/otp,lianghaivv/otp,RoadRunnr/otp,lucafavatella/otp,RichMorin/otp,beni55/otp,paladim/otp,jj1bdx/otp,neeraj9/otp,emacsmirror/erlang,enikki/otp,ahmedshafeeq/otp,bsmr-erlang/otp,theom/otp,platinumthinker/otp,stolen/otp,lightcyphers/otp,RichMorin/otp,RJ/otp,psyeugenic/otp,paladim/otp,mujiatong/otp,mujiatong/otp,jj1bdx/otp,falkevik/otp,lemenkov/otp,palas/otp,lantti/otp,lemenkov/otp,basho/otp,RoadRunnr/otp,uabboli/otp,vic/otp,dgud/otp,getong/otp,entropiae/otp,jamesruan/otp,lantti/otp,release-project/otp,goertzenator/otp,isvilen/otp,matwey/otp,getong/otp,haguenau/otp,enikki/otp,sitexa/otp,yangchengjian/otp,jj1bdx/otp,lianghaivv/otp,jemsbhai/otp,lightcyphers/otp,klarna/otp,kvakvs/otp,NOMORECOFFEE/otp,fenollp/otp,Teino1978-Corp/otp,ferd/otp,lemenkov/otp,emacsmirror/erlang,jinshana/otp,theom/otp,vladdu/otp,bsmr-erlang/otp,lhslll/otp,enikki/otp,RGafiyatullin/otp,RichMorin/otp,derek121/otp,massemanet/otp,paladim/otp,massemanet/otp,emile/otp,uabboli/otp,jj1bdx/otp,lhslll/otp,legoscia/otp,krishnakumar4a4/otp,entropiae/otp,lemenkov/otp,potatosalad/otp,yangchengjian/otp,matwey/otp,derek121/otp,lightcyphers/otp,mikpe/otp,vladdu/otp,falkevik/otp,bernardd/otp,electricimp/otp,weisslj/otp,stolen/otp,uabboli/otp,RGafiyatullin/otp,jj1bdx/otp,klarna/otp,c-rack/otp,schlagert/otp,massemanet/otp,schlagert/otp,uabboli/otp,benoitc/otp-1,jemsbhai/otp,sitexa/otp,vinoski/otp,riverrun/otp,beni55/otp,dumbbell/otp,RaimoNiskanen/otp,bsmr-erlang/otp,weisslj/otp,saleyn/otp,RJ/otp,lightcyphers/otp,weisslj/otp,klarna/otp,sammoth-wazoku/otp,benoitc/otp-1,benoitc/otp-1,emacsmirror/erlang,jj1bdx/otp,dumbbell/otp,cnbin/otp,bernardd/otp,tuncer/otp,haguenau/otp,g-andrade/otp,dgud/otp,legoscia/otp,msantos/otp,lantti/otp,ader1990/otp,krishnakumar4a4/otp,bsmr-erlang/otp,platinumthinker/otp,legoscia/otp,g-andrade/otp,sitexa/otp,bugs-erlang-org/otp,GinjaNinja32/otp,derek121/otp,fenollp/otp,cobusc/otp,lantti/otp,lianghaivv/otp,rlipscombe/otp,bjorng/otp,kvakvs/otp,bugs-erlang-org/otp,stolen/otp,msantos/otp,klarna/otp,emacsmirror/erlang,awetzel/otp,fenollp/otp,palas/otp,aboroska/otp,emile/otp,RaimoNiskanen/otp,lightcyphers/otp,emacsmirror/erlang,weisslj/otp,c-rack/otp,sdebnath/otp,mujiatong/otp,ferd/otp,beni55/otp,vinoski/otp,lucafavatella/otp,mikpe/otp,mikpe/otp,potatosalad/otp,fenollp/otp,erlang/otp,lrascao/otp,release-project/otp,marquisthunder/otp,vladdu/otp,Teino1978-Corp/otp,vladdu/otp,weisslj/otp,theom/otp,isvilen/otp,cobusc/otp,beni55/otp,lrascao/otp,sitexa/otp,klarna/otp,sdebnath/otp,palas/otp,Teino1978-Corp/erlang-otp,mikpe/otp,fenollp/otp,ahmedshafeeq/otp,dgud/otp,Teino1978-Corp/erlang-otp,jamesruan/otp,jinshana/otp,RichMorin/otp,getong/otp,entropiae/otp,lianghaivv/otp,msantos/otp,VincentHHL/otp,ader1990/otp,johanclaesson/otp,bjorng/otp,hairyhum/otp,isvilen/otp,lrascao/otp,neeraj9/otp,psyeugenic/otp,palas/otp,bernardd/otp,lightcyphers/otp,GinjaNinja32/otp,platinumthinker/otp,jj1bdx/otp,NOMORECOFFEE/otp,release-project/otp,RichMorin/otp,paladim/otp,cobusc/otp,rlipscombe/otp,ahmedshafeeq/otp,gjaldon/otp,sammoth-wazoku/otp,sitexa/otp,RGafiyatullin/otp,massemanet/otp,jemsbhai/otp,RaimoNiskanen/otp,msantos/otp,msantos/otp,tuncer/otp,lucafavatella/otp,NOMORECOFFEE/otp,weisslj/otp,saleyn/otp,ferd/otp,sammoth-wazoku/otp,gjaldon/otp,lemenkov/otp,johanclaesson/otp,awetzel/otp,schlagert/otp,vic/otp,bugs-erlang-org/otp,RoadRunnr/otp,emacsmirror/erlang,weisslj/otp,uabboli/otp,yangchengjian/otp,haguenau/otp,vladdu/otp,dumbbell/otp,jamesruan/otp,derek121/otp,cnbin/otp,enikki/otp,RoadRunnr/otp,Teino1978-Corp/otp,lemenkov/otp,schlagert/otp,kvakvs/otp,palas/otp,bugs-erlang-org/otp,RichMorin/otp,paulcager/otp,jemsbhai/otp,saleyn/otp,derek121/otp,johanclaesson/otp,riverrun/otp,NOMORECOFFEE/otp,marquisthunder/otp,dumbbell/otp,entropiae/otp,dumbbell/otp,matwey/otp,ahmedshafeeq/otp,bernardd/otp,vladdu/otp,dumbbell/otp,VincentHHL/otp,lemenkov/otp,vinoski/otp,theom/otp,lhslll/otp,derek121/otp,VincentHHL/otp,yangchengjian/otp,derek121/otp,lhslll/otp,aboroska/otp,erlang/otp,ader1990/otp,gjaldon/otp,awetzel/otp,bsmr-erlang/otp,psyeugenic/otp,riverrun/otp,vic/otp,falkevik/otp,kvakvs/otp,lucafavatella/otp,jinshana/otp,sitexa/otp,bsmr-erlang/otp,lightcyphers/otp,vinoski/otp,Teino1978-Corp/otp,theom/otp,erlang/otp,lrascao/otp,benoitc/otp-1,g-andrade/otp,release-project/otp,Teino1978-Corp/otp,VincentHHL/otp,RoadRunnr/otp,potatosalad/otp,jj1bdx/otp,mujiatong/otp,bernardd/otp,haguenau/otp,marquisthunder/otp,derek121/otp,krishnakumar4a4/otp,emile/otp,electricimp/otp,lianghaivv/otp,VincentHHL/otp,RaimoNiskanen/otp,paulcager/otp,schlagert/otp,beni55/otp,basho/otp,RJ/otp,ahmedshafeeq/otp,GinjaNinja32/otp,aboroska/otp,GinjaNinja32/otp,matwey/otp,release-project/otp,RichMorin/otp,NOMORECOFFEE/otp,lantti/otp,g-andrade/otp,c-rack/otp,kvakvs/otp,isvilen/otp,neeraj9/otp,psyeugenic/otp,jemsbhai/otp,release-project/otp,jemsbhai/otp,ferd/otp,dgud/otp,lucafavatella/otp,saleyn/otp,potatosalad/otp,sdebnath/otp,awetzel/otp,matwey/otp,emacsmirror/erlang,getong/otp,release-project/otp,theom/otp,RaimoNiskanen/otp,bernardd/otp,cnbin/otp,platinumthinker/otp,awetzel/otp,fenollp/otp,c-rack/otp,krishnakumar4a4/otp,ader1990/otp,cnbin/otp,c-rack/otp,erlang/otp,mujiatong/otp,Teino1978-Corp/otp,saleyn/otp,getong/otp,bjorng/otp,ahmedshafeeq/otp,legoscia/otp,dumbbell/otp,platinumthinker/otp,RGafiyatullin/otp,erlang/otp,RaimoNiskanen/otp,marquisthunder/otp,hairyhum/otp,electricimp/otp,yangchengjian/otp,aboroska/otp,massemanet/otp,matwey/otp,erlang/otp,RGafiyatullin/otp,palas/otp,isvilen/otp,erlang/otp,johanclaesson/otp,vic/otp,haguenau/otp,bjorng/otp,sammoth-wazoku/otp,cnbin/otp,mikpe/otp,emacsmirror/erlang,legoscia/otp,paulcager/otp,RGafiyatullin/otp,goertzenator/otp,cnbin/otp,entropiae/otp,lucafavatella/otp,hairyhum/otp,gjaldon/otp,emile/otp,g-andrade/otp,vic/otp,sdebnath/otp,vladdu/otp,GinjaNinja32/otp,legoscia/otp,hairyhum/otp,neeraj9/otp,lianghaivv/otp,johanclaesson/otp,dgud/otp,RoadRunnr/otp,kvakvs/otp,haguenau/otp,marquisthunder/otp,jamesruan/otp,RJ/otp,stolen/otp,RichMorin/otp,benoitc/otp-1,jinshana/otp,lucafavatella/otp,electricimp/otp,getong/otp,jinshana/otp,jamesruan/otp,ader1990/otp,uabboli/otp,klarna/otp,mikpe/otp,enikki/otp,ferd/otp,bjorng/otp,erlang/otp,tuncer/otp,paladim/otp,bsmr-erlang/otp,vinoski/otp,dumbbell/otp,paladim/otp,isvilen/otp,tuncer/otp,Teino1978-Corp/erlang-otp,entropiae/otp,Teino1978-Corp/erlang-otp,mujiatong/otp,stolen/otp,jinshana/otp,awetzel/otp,kvakvs/otp,rlipscombe/otp,lianghaivv/otp,lucafavatella/otp,uabboli/otp,awetzel/otp,goertzenator/otp,g-andrade/otp,fenollp/otp,vinoski/otp,RJ/otp,platinumthinker/otp,palas/otp,cobusc/otp,yangchengjian/otp,lrascao/otp,saleyn/otp,fenollp/otp,hairyhum/otp,msantos/otp,tuncer/otp,paulcager/otp,jemsbhai/otp,saleyn/otp,electricimp/otp,krishnakumar4a4/otp,GinjaNinja32/otp,RJ/otp,entropiae/otp,psyeugenic/otp,ahmedshafeeq/otp,isvilen/otp,ahmedshafeeq/otp,haguenau/otp,lightcyphers/otp,neeraj9/otp,weisslj/otp,msantos/otp,NOMORECOFFEE/otp,jinshana/otp,release-project/otp,rlipscombe/otp,vladdu/otp,goertzenator/otp,Teino1978-Corp/otp,RGafiyatullin/otp,kvakvs/otp,sdebnath/otp,tuncer/otp,gjaldon/otp,neeraj9/otp,lrascao/otp,jamesruan/otp,getong/otp,ahmedshafeeq/otp,paulcager/otp,gjaldon/otp,stolen/otp,schlagert/otp,bugs-erlang-org/otp,bjorng/otp,cnbin/otp,rlipscombe/otp,g-andrade/otp,massemanet/otp,weisslj/otp,VincentHHL/otp,goertzenator/otp,cobusc/otp,g-andrade/otp,dumbbell/otp,ferd/otp,basho/otp,gjaldon/otp,bernardd/otp,getong/otp,krishnakumar4a4/otp,massemanet/otp,tuncer/otp,emacsmirror/erlang,lemenkov/otp,dgud/otp,electricimp/otp,aboroska/otp,bugs-erlang-org/otp,falkevik/otp,mikpe/otp,riverrun/otp,ader1990/otp,neeraj9/otp,erlang/otp,rlipscombe/otp,falkevik/otp,dgud/otp,beni55/otp,yangchengjian/otp,RGafiyatullin/otp,sammoth-wazoku/otp,NOMORECOFFEE/otp,VincentHHL/otp,rlipscombe/otp,isvilen/otp,RaimoNiskanen/otp,psyeugenic/otp,ader1990/otp,jj1bdx/otp