Added ZoomManager which handles zoom and wrote tests for zoom.

ZoomManager encapsulates information about current zoom state such as
zoom factor, source and display canvas. Also redraws display canvas.
zoommanager_test.js holds tests for zooming with canvas.

R=jackhou@chromium.org

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