regkey

1. add move-ctor and move-assignment for RegKey
2.bugfix: cannot get the correct error code when APIs fail.
3. add HasValue, GetValueCount, and GetValueNameAt