Handle last_sent_value() returning None

Fixes issue #4.
Don't try to start a browser to load the activation URL

In many cases it doesn't work and may hide the URL.
Prepare for 0.5.1
Merge branch 'master' into debug
Log on_device_change_event as well