Decouple PointerLockControls from its example.
Merge pull request #5576 from ucarion/refactor-pointerlock

Decouple PointerLockControls from its example.