Add support for periodically archiving the transaction billing table

The transaction billing table has an entry per message which means it'll get large very quickly. We should archive data regularly (probably at the end of each month we should archive data older than N months).
Not seing 'pending' as one of the status, did this change? Or is that status implicit?