Automatically expire plans

I've been doing this by hand for a few months, so I think it is
reliable. Would like a code review!
Merge pull request #709 from scraperwiki/automatically-expire-plans

Automatically expire plans