reg.exe: Add wchar/raw data conversion functions
reg.exe: Implement query functionality
reg.exe: Clean up reg_add

Adds defaults and checks
reg.exe: Clean up reg_delete