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