Make allow_safe_import available in the glob functions
Make allow_safe_import available in the glob functions

Summary:
In order to support mercurial's plugin import model (triggered for each
repository that is loaded), allow_safe_import must be available to the glob
functions.

Test Plan: Run `ant test` and `buck test`

Reviewed By: Coneko

fbshipit-source-id: 5e905d0

zhan-xiong/buck,sdwilsh/buck,grumpyjames/buck,shs96c/buck,JoelMarcey/buck,brettwooldridge/buck,zhan-xiong/buck,justinmuller/buck,romanoid/buck,darkforestzero/buck,nguyentruongtho/buck,marcinkwiatkowski/buck,SeleniumHQ/buck,davido/buck,rmaz/buck,OkBuilds/buck,k21/buck,darkforestzero/buck,k21/buck,robbertvanginkel/buck,justinmuller/buck,justinmuller/buck,JoelMarcey/buck,davido/buck,grumpyjames/buck,darkforestzero/buck,kageiit/buck,clonetwin26/buck,shs96c/buck,marcinkwiatkowski/buck,clonetwin26/buck,k21/buck,shybovycha/buck,illicitonion/buck,vschs007/buck,daedric/buck,brettwooldridge/buck,romanoid/buck,romanoid/buck,illicitonion/buck,Addepar/buck,robbertvanginkel/buck,brettwooldridge/buck,ilya-klyuchnikov/buck,JoelMarcey/buck,dsyang/buck,vschs007/buck,robbertvanginkel/buck,kageiit/buck,brettwooldridge/buck,illicitonion/buck,sdwilsh/buck,SeleniumHQ/buck,zpao/buck,shs96c/buck,brettwooldridge/buck,shybovycha/buck,OkBuilds/buck,shs96c/buck,Addepar/buck,LegNeato/buck,k21/buck,ilya-klyuchnikov/buck,dsyang/buck,OkBuilds/buck,daedric/buck,JoelMarcey/buck,Addepar/buck,SeleniumHQ/buck,clonetwin26/buck,shs96c/buck,JoelMarcey/buck,facebook/buck,shybovycha/buck,rmaz/buck,ilya-klyuchnikov/buck,sdwilsh/buck,clonetwin26/buck,marcinkwiatkowski/buck,ilya-klyuchnikov/buck,romanoid/buck,shs96c/buck,kageiit/buck,rmaz/buck,brettwooldridge/buck,Addepar/buck,zpao/buck,brettwooldridge/buck,daedric/buck,darkforestzero/buck,shs96c/buck,illicitonion/buck,LegNeato/buck,clonetwin26/buck,illicitonion/buck,shs96c/buck,Addepar/buck,justinmuller/buck,JoelMarcey/buck,davido/buck,sdwilsh/buck,zhan-xiong/buck,grumpyjames/buck,LegNeato/buck,zhan-xiong/buck,illicitonion/buck,dsyang/buck,davido/buck,kageiit/buck,k21/buck,grumpyjames/buck,JoelMarcey/buck,Addepar/buck,sdwilsh/buck,clonetwin26/buck,romanoid/buck,k21/buck,OkBuilds/buck,LegNeato/buck,JoelMarcey/buck,shybovycha/buck,ilya-klyuchnikov/buck,zhan-xiong/buck,Addepar/buck,vschs007/buck,robbertvanginkel/buck,brettwooldridge/buck,OkBuilds/buck,romanoid/buck,daedric/buck,brettwooldridge/buck,illicitonion/buck,rmaz/buck,ilya-klyuchnikov/buck,facebook/buck,zhan-xiong/buck,dsyang/buck,darkforestzero/buck,zhan-xiong/buck,clonetwin26/buck,shybovycha/buck,darkforestzero/buck,ilya-klyuchnikov/buck,marcinkwiatkowski/buck,dsyang/buck,zhan-xiong/buck,rmaz/buck,grumpyjames/buck,Addepar/buck,k21/buck,shybovycha/buck,nguyentruongtho/buck,k21/buck,SeleniumHQ/buck,SeleniumHQ/buck,JoelMarcey/buck,LegNeato/buck,dsyang/buck,rmaz/buck,OkBuilds/buck,daedric/buck,robbertvanginkel/buck,romanoid/buck,zhan-xiong/buck,shybovycha/buck,rmaz/buck,Addepar/buck,SeleniumHQ/buck,justinmuller/buck,grumpyjames/buck,LegNeato/buck,daedric/buck,dsyang/buck,sdwilsh/buck,ilya-klyuchnikov/buck,justinmuller/buck,nguyentruongtho/buck,illicitonion/buck,OkBuilds/buck,dsyang/buck,romanoid/buck,romanoid/buck,kageiit/buck,sdwilsh/buck,LegNeato/buck,daedric/buck,shybovycha/buck,sdwilsh/buck,grumpyjames/buck,JoelMarcey/buck,davido/buck,ilya-klyuchnikov/buck,brettwooldridge/buck,darkforestzero/buck,vschs007/buck,zpao/buck,kageiit/buck,zhan-xiong/buck,marcinkwiatkowski/buck,LegNeato/buck,romanoid/buck,daedric/buck,k21/buck,grumpyjames/buck,rmaz/buck,marcinkwiatkowski/buck,facebook/buck,darkforestzero/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,shs96c/buck,rmaz/buck,facebook/buck,nguyentruongtho/buck,sdwilsh/buck,justinmuller/buck,shybovycha/buck,vschs007/buck,SeleniumHQ/buck,brettwooldridge/buck,k21/buck,sdwilsh/buck,facebook/buck,zpao/buck,shybovycha/buck,dsyang/buck,dsyang/buck,SeleniumHQ/buck,nguyentruongtho/buck,romanoid/buck,marcinkwiatkowski/buck,rmaz/buck,justinmuller/buck,romanoid/buck,marcinkwiatkowski/buck,rmaz/buck,davido/buck,SeleniumHQ/buck,Addepar/buck,OkBuilds/buck,zpao/buck,OkBuilds/buck,shs96c/buck,vschs007/buck,shs96c/buck,LegNeato/buck,illicitonion/buck,LegNeato/buck,justinmuller/buck,dsyang/buck,davido/buck,nguyentruongtho/buck,robbertvanginkel/buck,justinmuller/buck,grumpyjames/buck,robbertvanginkel/buck,zpao/buck,shs96c/buck,sdwilsh/buck,k21/buck,kageiit/buck,justinmuller/buck,nguyentruongtho/buck,facebook/buck,justinmuller/buck,shybovycha/buck,vschs007/buck,ilya-klyuchnikov/buck,OkBuilds/buck,k21/buck,darkforestzero/buck,clonetwin26/buck,darkforestzero/buck,illicitonion/buck,marcinkwiatkowski/buck,facebook/buck,davido/buck,zpao/buck,darkforestzero/buck,grumpyjames/buck,clonetwin26/buck,robbertvanginkel/buck,ilya-klyuchnikov/buck,clonetwin26/buck,shybovycha/buck,daedric/buck,daedric/buck,LegNeato/buck,davido/buck,grumpyjames/buck,robbertvanginkel/buck,daedric/buck,clonetwin26/buck,grumpyjames/buck,darkforestzero/buck,JoelMarcey/buck,SeleniumHQ/buck,robbertvanginkel/buck,zhan-xiong/buck,marcinkwiatkowski/buck,davido/buck,clonetwin26/buck,illicitonion/buck,vschs007/buck,Addepar/buck,brettwooldridge/buck,justinmuller/buck,vschs007/buck,OkBuilds/buck,daedric/buck,SeleniumHQ/buck,clonetwin26/buck,zhan-xiong/buck,SeleniumHQ/buck,JoelMarcey/buck,vschs007/buck,OkBuilds/buck,davido/buck,sdwilsh/buck,illicitonion/buck,robbertvanginkel/buck,marcinkwiatkowski/buck,dsyang/buck,LegNeato/buck,davido/buck,sdwilsh/buck,Addepar/buck,davido/buck,shybovycha/buck,Addepar/buck,marcinkwiatkowski/buck,SeleniumHQ/buck,illicitonion/buck,romanoid/buck,k21/buck,brettwooldridge/buck,LegNeato/buck,daedric/buck,rmaz/buck,ilya-klyuchnikov/buck,vschs007/buck,JoelMarcey/buck,OkBuilds/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,vschs007/buck,zhan-xiong/buck,darkforestzero/buck,vschs007/buck,dsyang/buck,rmaz/buck,shs96c/buck