Clean StartEditing

+ Remove commented code and useless comments
+ Translate variable names and comments to english
+ Reordering the methods
+ Refactoring on isVisible, isEditable to make it a bit more readable
Extract the code that sets over which layer do snapping to its own class