Fixes #119. Implemented pet proposals.
Merge pull request #120 from rexim/issue-119

Fixes #119. Implemented pet proposals.
PetPlugin: fixed some stupid mistakes in implementation of #119.
Merge pull request #121 from rexim/proposal-implementation-mistakes-fix

PetPlugin: fixed some stupid mistakes in implementation of #119