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 - For the second sentence, if we use defaults, replace with (default = this._numTicks)