Merge pull request #1015 from rspec/safely_clear_shared_example_groups

Safely clear shared example groups, rebased, speced and changelogged.
Conflicts:
	Changelog.md
	spec/rspec/core/shared_example_group_spec.rb
update more shared example group methods to use registry class