deactivate a subscription if its end date is changed to today

Fixes a problem where an active subscription will never be deactivated if its end date is changed to today.

@biyeun 
we don't let users set ```date_end``` to be earlier than today, so this should catch all relevant cases (although I could see the value of an ```assert``` statement here)