Add a ScopedHandle.

Add a ScopedHandle that can automatically close a Windows handle when it's deleted.

R=etienneb@chromium.org

Review URL: https://codereview.appspot.com/15420043