Add a third parameter to the constructor to localize error messages. Closes #2140.
Fixed tests following the UI CSS class changes.
Replace parseInt with Math.floor in the progress calculations.
Merge branch 'master' into jquery-ui