Polymerize toolpanel.

Redid javascript to use a map from tool->object.

Changed tool buttons to polymer icon buttons, redid js handling of events to be in a more Polymer style.

Put icon buttons into custom element.

R=tapted@chromium.org

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