added receipts table

added a table to db for storing receipts (marked as sent and unsent)
changed send receipts interface to allow sending of bulk receipts (both
new and previously sent)