Avoid unnecessary renderAll calls in mousedown and mouseup events.
Tested it with `canvas.selection = true/false`.
Fix jshint error
Merge pull request #853 from Kienz/patch-1

Avoid unnecessary `renderAll` calls in mousedown and mouseup events