Housekeeping

As the year-end is approaching, let's join efforts and do some housekeeping :)

This PL is a collection of various fixes / cleanups (see individual commits) that did not yet found their way back upstream
Not sure, I assume IE 8 or earlier, we could not track the origin of this code. We have tried it with latest IE, and this code does not seem to have any effect.

This code is actually quite nasty, it overwrites the ondrag callback on the document, and because it is returning false, it means that dragging will never start (for code other than the range input). 

You can verify this by add a simple draggable code e.g. from http://jqueryui.com/draggable/ . As soon as you have a rangeinput on the same page (i.e. duration slider), the dragging won't work anymore, as dragging will never start