Naive implementation for acceptance-triggered sync (ON-754)

Refactoring: extract method (ON-754)
Merge branch 'master' into on-754
Simplify code a bit - no need for the extra method (ON-754)
Merge branch 'master' into on-754
Merge pull request #37 from opennode/on-754

On 754