Switches code moved to a separate file
Merge pull request #1102 from opentx/bsongis/Switches_refactoring

Switches code moved to a separate file