convert g.Raphael punch card to d3

its code has been split into punchcard.js
and required some CSS changes;

a few consistency changes have been applied.