Added pan and zoom to the renderer

Uses d3.behavior.zoom() to apply a transform to the main svg element