Fix Glob test. Refs #7138

Also fix AnalysisDataServiceTest. It fails otherwise if one sets the
Mantid preferences to show invisible workspaces
Merge remote-tracking branch 'origin/bugfix/7138_globtestfix'