Nested modules renamed.
Nested modules renamed.

Summary: Nested modules renamed. Import statements changed accordingly.
Scope is no more a set but a list. That was done to preserve the order and be able to give preference to local scope rather than the global scope. Also, since flow does not allow multiple declaration of same module name in the same scope, keeping a list instead will allow us to check that while converting.

NOTE: Typescript does allow two have two declare module, interfeces etc., statements with same name. Handling this could be another task we can take up.

TODO: Reorder/flatten modules now

Reviewed By: @avikchaudhuri

Differential Revision: D2127526

asivitz/flow,shiftcars/flow,jeffutter/flow,shiftcars/flow,jdelStrother/flow,chenglou/flow,AgentME/flow,samwgoldman/flow,Wanderfalke/flow,graue/flow,CJstar/flow,jdelStrother/flow,shiftcars/flow,Eyyub/flow,dv/flow,samwgoldman/flow,gabelevi/flow,MichaelDeBoey/flow,AgentME/flow,davidmason/flow,shiftcars/flow,nmote/flow,d14b3l/flow,jeffmo/flow,jeffutter/flow,siddhartharay007/flow,mcanthony/flow-type,mroch/flow,jeffmo/flow,AprilArcus/flow,KevinTCoughlin/flow,asivitz/flow,CJstar/flow,KevinTCoughlin/flow,jdelStrother/flow,chenglou/flow,OCamlPro/flow,YelaSeamless/flow,popham/flow,claudiopro/flow,mcanthony/flow-type,ianobermiller/flow,Jericho25/flow,Drooids/flow,jdelStrother/flow,JonathanUsername/flow,dv/flow,ForbesLindesay/flow,jeffmo/flow,paulshen/flow,chenglou/flow,nmote/flow,nmote/flow,d14b3l/flow,JonathanUsername/flow,facebook/flow,shiftcars/flow,graue/flow,d14b3l/flow,JonathanUsername/flow,ylu1317/flow,JeckoHeroOrg/flow,matklad/flow,samwgoldman/flow,rafaelstz/flow,lyip1992/flow,ForbesLindesay/flow,jgrund/flow,OCamlPro/flow,JeckoHeroOrg/flow,MichaelDeBoey/flow,ForbesLindesay/flow,mroch/flow,OCamlPro/flow,TiddoLangerak/flow,jgrund/flow,paulshen/flow,AgentME/flow,graue/flow,mroch/flow,davidmason/flow,Drooids/flow,facebook/flow,JonathanUsername/flow,KevinTCoughlin/flow,Fresheyeball/flow,AprilArcus/flow,gabelevi/flow,matklad/flow,samwgoldman/flow,fletcherw/flow,asivitz/flow,fletcherw/flow,nmote/flow,popham/flow,jgrund/flow,matklad/flow,MichaelDeBoey/flow,CJstar/flow,ForbesLindesay/flow,MichaelDeBoey/flow,gabelevi/flow,YelaSeamless/flow,Eyyub/flow,JohnyDays/flow,Wanderfalke/flow,ylu1317/flow,ianobermiller/flow,Fresheyeball/flow,lyip1992/flow,lyip1992/flow,graue/flow,matklad/flow,claudiopro/flow,chenglou/flow,Wanderfalke/flow,nmote/flow,cesarandreu/flow,gabro/flow,Eyyub/flow,jgrund/flow,JohnyDays/flow,jgrund/flow,JohnyDays/flow,dv/flow,facebook/flow,cesarandreu/flow,YelaSeamless/flow,jeffmo/flow,fletcherw/flow,JonathanUsername/flow,paulshen/flow,darioajr/flow,TiddoLangerak/flow,chenglou/flow,JonathanUsername/flow,Drooids/flow,ylu1317/flow,YelaSeamless/flow,rafaelstz/flow,Fresheyeball/flow,shiftcars/flow,gabro/flow,jdelStrother/flow,ForbesLindesay/flow,d14b3l/flow,asivitz/flow,KevinTCoughlin/flow,jeffmo/flow,samwgoldman/flow,jgrund/flow,danvk/flow,TiddoLangerak/flow,ylu1317/flow,rafaelstz/flow,gabro/flow,Wanderfalke/flow,MichaelDeBoey/flow,davidmason/flow,jdelStrother/flow,mroch/flow,graue/flow,gabelevi/flow,ianobermiller/flow,gabelevi/flow,paulshen/flow,jamesgpearce/flow,fletcherw/flow,rafaelstz/flow,JohnyDays/flow,samwgoldman/flow,JeckoHeroOrg/flow,nmote/flow,d14b3l/flow,Drooids/flow,claudiopro/flow,lyip1992/flow,AprilArcus/flow,darioajr/flow,YelaSeamless/flow,mcanthony/flow-type,jamesgpearce/flow,gabro/flow,Jericho25/flow,dv/flow,claudiopro/flow,JonathanUsername/flow,Jericho25/flow,AgentME/flow,AgentME/flow,facebook/flow,darioajr/flow,popham/flow,cesarandreu/flow,CJstar/flow,ForbesLindesay/flow,davidmason/flow,danvk/flow,popham/flow,jamesgpearce/flow,graue/flow,mcanthony/flow-type,jamesgpearce/flow,jeffutter/flow,danvk/flow,gabelevi/flow,jamesgpearce/flow,samwgoldman/flow,JeckoHeroOrg/flow,AprilArcus/flow,AprilArcus/flow,d14b3l/flow,rafaelstz/flow,claudiopro/flow,cesarandreu/flow,siddhartharay007/flow,siddhartharay007/flow,matklad/flow,popham/flow,siddhartharay007/flow,mroch/flow,JeckoHeroOrg/flow,fletcherw/flow,facebook/flow,TiddoLangerak/flow,AprilArcus/flow,popham/flow,Eyyub/flow,gabelevi/flow,gabro/flow,facebook/flow,popham/flow,davidmason/flow,fletcherw/flow,ylu1317/flow,jamesgpearce/flow,nmote/flow,mroch/flow,chenglou/flow,danvk/flow,ianobermiller/flow,OCamlPro/flow,mroch/flow,gabro/flow,facebook/flow,jeffutter/flow,jeffmo/flow,Fresheyeball/flow,TiddoLangerak/flow,darioajr/flow,jamesgpearce/flow