Implement MachineKey.Protect and MachineKey.Unprotect
Merge pull request #1349 from martinjt/MachineKeyProtect

Implement MachineKey.Protect and MachineKey.Unprotect