Added a some logic for specifying values that the slider can snap to.
Merge pull request #419 from aspic/master

Snapvalues for Slider