Added handling of expiring subscriptions

* New method on SubscriptionStorage interface and Pdo implementation, returns expiring subscriptions
* New function renew() which, given an , renews all the near-expiring subscriptions
* renew() called automatically on each ping
* Expiry dates shown in admin table and subscription page