clear up pagerduty details API code

It looks like support for changing the pagerduty details has been neglected somewhat in the code so far.

Fixes #336.