Custom tick generation

Add functionality to provide custom tick generator for quantitative scale.

Close #1058.
`TickGenerator` should probably return `any[]` -- what if someone wants it to return Date objects?