UISwitch code interface compatibility

By this patch, SevenSwitch can be a drop-in replacement of original UISwitch
Merge pull request #9 from youknowone/compatibility

UISwitch code interface compatibility