Move private methods from RSpec to RSpec.world.

Fixes #1338.

It seemed weird to move the private setters (`configuration=`, `world=`, `reset`) off the `RSpec` constant, so I left them there.

No changelog entry since this is a private refactoring.

@myronmarston @JonRowe