Added onInit event for Sliders

Sliders do not have an event handler for initializing yet. This commit adds an 'onInit' event to Sliders so functions can be called when initializing them.
Merge pull request #294 from SniperGER/patch-1

Added onInit event for Sliders