Why would a switch be wired with its neutral connected to ground?
The picture that you show indicates some very serious and dangerous wiring connections. This was clearly done by someone that had NO clue to proper wiring craft and codes. 

Since you have found similar issues in two spots it leaves to question about how much the rest of the abode is wired in similar careless and dangerous way. I would recommend that you bring in someone who knows all things related to mains wiring and codes and perform a 100% survey of all your electrical wiring including all boxes, panels, lights, switches and outlets. Without doing a rigorous job of this you will have no idea how much risk you are dealing with before someone or something gets electrocuted or seriously damaged.