Assert lenght of the id to getIncidents.

Avoid getIncidents method of PagerDutyClient to return all incidents.
Link incident to issues with application type.

Add application field to the API configuration. Add it as application type
to the remote links. Filter the returned links using this field.
Raise database lock timeout with message.
Add comment for the token on API configuration.
Application name used as ident on syslog.
Syslog elapsed time.