Improve tick-count setting API.

Now, ticks(count) sets the number of ticks and returns the
calling QuantitiveScale, instead of setting the number of ticks
and returning that many ticks.

API breaking change.

Close #1057.
Style - use default
public ticks(count = this._numTicks)