DynamoSliderClass for undo/redo able slider

Fix to make sure undo/redo works when a person changes the value of the number slider by moving the slider bar.

Changes Made :
Addition of a DynamoSlider class to override some event methods.


Since this is a UI implementation, no proper test case has been written.