clear up pagerduty details API code
Merge pull request #337 from ali-graham/336_api_change_pagerduty_details

clear up pagerduty details API code