Convert xmlhttprequest.sky to use classes

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/753453002