add support for the actions under /incidents/:id/{verb}

I noticed that the `resolve_incident` function (and friends) under the top-level PagerDuty object no longer seem to be working, and the upstream docs/examples now use the PUTs under `/incidents` instead of the vintage-2010 integration api.
Good point. Premature DRYing always causes issues. I'll clean it up.

-- 
James Brown,
currently mobile

> On Jun 26, 2014, at 9:59 PM, "Gary M. Josack" <notifications@github.com> wrote:
> 
> In pygerduty/__init__.py:
> 
> > @@ -348,7 +350,26 @@ def to_json(self):
> >  
> >  
> >  class Incident(Container):
> > -    pass
> > +    def _do_action(self, verb, requester_id, **kwargs):
> > +        path = '%s/%s/%s' % (self.collection.name, self.id, verb)
> > +        data = {'requester_id': requester_id}
> > +        data.update(kwargs)
> > +        self.pagerduty.request("PUT", path, data=json.dumps(data))
> > +
> > +    def resolve(self, requester_id):
> > +        self._do_action('resolve')
> requester_id should be passed down here and in the methods below correct?
> 
> —
> Reply to this email directly or view it on GitHub.