Upgrade to build script to use gradle 0.12
Issue #173 value of sent_to is taken from device_id in case of no registered phone number
Merge pull request #185 from rafalsliwinski/issue-173_2

Fix value of sent_to, fixes #173