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.
`_numticks` is not publicly exposed, so we should never refer to it in the documentation.