Code cleanup

Cleaned up the code to conform to Cocoa naming guidelines and removed useless stuff.

The only change here that might affect others (that i know of), is that users of the control will no longer be able to do:

switch.isOn = value;

Instead they need to do:

switch.on = value;