Add Selection.classed(object)

.classed() allows an object map as input, similar to .attr() and .style().
Merge pull request #2989 from jtlan/classed-object-arg

Add Selection.classed(object) to d3.d.ts