Merge pull request #1023 from rspec/fix_toplevel_definition_in_modules

deprecation warnings when spec enclosed in a module