Short-circuit code:ensure_loaded for already-loaded modules
Short-circuit code:ensure_loaded for already-loaded modules

This checks if the module is already loaded using erlang:module_loaded
before calling the code server. This should improve performance of the
call significantly since the case where module is already loaded is the
common one.

The change shouldn't cause any problems. It's worth noting that
code:ensure_modules_loaded already does a similar check.

aboroska/otp,tuncer/otp,vladdu/otp,isvilen/otp,aboroska/otp,emacsmirror/erlang,dumbbell/otp,uabboli/otp,bsmr-erlang/otp,vinoski/otp,legoscia/otp,uabboli/otp,potatosalad/otp,electricimp/otp,fenollp/otp,getong/otp,rlipscombe/otp,getong/otp,ferd/otp,rlipscombe/otp,vladdu/otp,saleyn/otp,jj1bdx/otp,lrascao/otp,g-andrade/otp,mikpe/otp,getong/otp,mikpe/otp,dumbbell/otp,jj1bdx/otp,vinoski/otp,tuncer/otp,rlipscombe/otp,electricimp/otp,electricimp/otp,vladdu/otp,rlipscombe/otp,bjorng/otp,erlang/otp,vinoski/otp,dumbbell/otp,emacsmirror/erlang,RaimoNiskanen/otp,potatosalad/otp,kvakvs/otp,bsmr-erlang/otp,potatosalad/otp,getong/otp,bsmr-erlang/otp,dgud/otp,rlipscombe/otp,rlipscombe/otp,vinoski/otp,fenollp/otp,RaimoNiskanen/otp,erlang/otp,electricimp/otp,vladdu/otp,dgud/otp,bsmr-erlang/otp,jj1bdx/otp,bsmr-erlang/otp,emacsmirror/erlang,potatosalad/otp,jj1bdx/otp,kvakvs/otp,RoadRunnr/otp,cobusc/otp,mikpe/otp,electricimp/otp,electricimp/otp,g-andrade/otp,dumbbell/otp,mikpe/otp,getong/otp,kvakvs/otp,jj1bdx/otp,potatosalad/otp,g-andrade/otp,lrascao/otp,vinoski/otp,aboroska/otp,isvilen/otp,vladdu/otp,emacsmirror/erlang,uabboli/otp,dumbbell/otp,cobusc/otp,erlang/otp,ferd/otp,aboroska/otp,mikpe/otp,ferd/otp,bjorng/otp,uabboli/otp,potatosalad/otp,tuncer/otp,lrascao/otp,dumbbell/otp,potatosalad/otp,fenollp/otp,dgud/otp,erlang/otp,aboroska/otp,RoadRunnr/otp,dgud/otp,bjorng/otp,tuncer/otp,erlang/otp,erlang/otp,dumbbell/otp,erlang/otp,jj1bdx/otp,bjorng/otp,legoscia/otp,legoscia/otp,mikpe/otp,g-andrade/otp,getong/otp,cobusc/otp,dgud/otp,isvilen/otp,saleyn/otp,dumbbell/otp,g-andrade/otp,saleyn/otp,RoadRunnr/otp,tuncer/otp,RoadRunnr/otp,erlang/otp,aboroska/otp,vinoski/otp,vladdu/otp,emacsmirror/erlang,legoscia/otp,jj1bdx/otp,g-andrade/otp,dgud/otp,tuncer/otp,ferd/otp,vinoski/otp,ferd/otp,vinoski/otp,cobusc/otp,dgud/otp,RoadRunnr/otp,legoscia/otp,kvakvs/otp,isvilen/otp,legoscia/otp,tuncer/otp,aboroska/otp,tuncer/otp,erlang/otp,jj1bdx/otp,RaimoNiskanen/otp,dgud/otp,electricimp/otp,saleyn/otp,isvilen/otp,RoadRunnr/otp,rlipscombe/otp,vinoski/otp,rlipscombe/otp,cobusc/otp,legoscia/otp,emacsmirror/erlang,saleyn/otp,lrascao/otp,lrascao/otp,erlang/otp,kvakvs/otp,bjorng/otp,electricimp/otp,rlipscombe/otp,mikpe/otp,bsmr-erlang/otp,lrascao/otp,cobusc/otp,fenollp/otp,bsmr-erlang/otp,vladdu/otp,getong/otp,vinoski/otp,vladdu/otp,getong/otp,ferd/otp,lrascao/otp,fenollp/otp,g-andrade/otp,bjorng/otp,getong/otp,cobusc/otp,potatosalad/otp,g-andrade/otp,RaimoNiskanen/otp,uabboli/otp,getong/otp,aboroska/otp,RaimoNiskanen/otp,vladdu/otp,lrascao/otp,aboroska/otp,emacsmirror/erlang,tuncer/otp,fenollp/otp,uabboli/otp,jj1bdx/otp,kvakvs/otp,isvilen/otp,isvilen/otp,g-andrade/otp,uabboli/otp,RaimoNiskanen/otp,mikpe/otp,bjorng/otp,RaimoNiskanen/otp,lrascao/otp,mikpe/otp,RaimoNiskanen/otp,emacsmirror/erlang,bsmr-erlang/otp,isvilen/otp,electricimp/otp,rlipscombe/otp,isvilen/otp,ferd/otp,mikpe/otp,g-andrade/otp,RaimoNiskanen/otp,ferd/otp,bsmr-erlang/otp,dumbbell/otp,RoadRunnr/otp,fenollp/otp,dgud/otp,potatosalad/otp,uabboli/otp,potatosalad/otp,bjorng/otp,kvakvs/otp,emacsmirror/erlang,saleyn/otp,kvakvs/otp,RoadRunnr/otp,dumbbell/otp,fenollp/otp,fenollp/otp,jj1bdx/otp,uabboli/otp,saleyn/otp,cobusc/otp,bjorng/otp,kvakvs/otp,isvilen/otp,saleyn/otp,emacsmirror/erlang,legoscia/otp,dgud/otp,ferd/otp,saleyn/otp,legoscia/otp,RoadRunnr/otp,bjorng/otp