Issue 6810: Move the __fb_scopedVars helper into the command line API

https://code.google.com/p/fbug/issues/detail?id=6810