Updated app_test_pwm to include xSCOPE capability. Also added 'Select Phase' test option
merged HEAD with local changes