Do not send messges to inactive or invalidated devices.
Merge pull request #9 from roverdotcom/issue-9

Device.send_message() should only send messages to active and valid devices