Support for tick in Slider

Hi,

Following up #1500 and the discussion with @lsmith, here is an attempt to add support for tick in Slider.

This PR doesn't include documentation yet as I'm not entirely sure about the implementation. (But will do if you're happy with it.)

Thanks