version increment, homepage link fixes
Pass an index to the color function.

Most, if not all, d3 functions have a callback in the form (d, i), where d
is the data item and i the index. This commit implements similar behavior
for the color function. This allows the implementation of color functions
that rely on the index.