WeMo event update handler was returning values nobody cared about. Now updating the subscription_valid_until correctly (hopefully).
Added some checks for next_update_in_seconds in the unit tests.