remove scattered globals in favor of a single object.

Related to shakyShane/browser-sync#71.
Also see simshanith/browser-sync.