PIMPL example: CRegistry

The monolithic CModule API should be reduced in a way or another.
Here's an example that could supercede the "NV" part of the CModule
API.

Keys() is not as efficient as the old iterator based API, but on the
other hand, it doesn't expose the internal implementation details.
Thus, it is possible to even change the backend without breaking
binary compatibility.