Added changed for webhooks

Latest version of webhooks callbacks adopted
Testcase for Bug for Offer
Fixed parsing of offers inside of subscriptions
- empty offer was encoded as [] instead of undefined/null/not present,
  now [] results in deletion of offer property
EventResource for simple transaction added

nextCaptureAt added to subscription
merge and fix tests