Wrapped lightboxfunctions in MS_Lightboxes

and moved to usages to lightboxes instance
MS_Lightboxes fixing public methods
Wrapping definition of stubs in stubFunctions in MS_StubFunctions
Making methods in StubFunctions public

Switching usages to use the global stubfunctions instance
Switching usages of genericRetrieve_mintSyncGlobals

to use the new instance variable
Switching usages of genericRetrieve_currentTab

to use new stubFunctions