Allow selection tool to run right up to the edge of the document.

This change also keeps updating the selection even after the mouse is
out of the canvas, but clamps the selection to the edge of the canvas.

BUG=11
R=jackhou@chromium.org

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