Adjust the ticks API to be closer to D3

Added the numTicks(count) call to set the default number of ticks.
A different number from the default can be requested with ticks(number),
which no longer changes the default.

Now less API-breaking, although the functionality is slightly different.