rework payment flow: separate intent workers, implement changes

See #88
fix test
include payment metadata in notification
fix not passing ranged var to goroutine
docs for intent workers
Merge pull request #102 from wongak/payment_handling

Payment handling