Teach marc_export about deleted and inactive records
Per Galen Charlton's wishlist bug, give the marc_export command line tool the
ability to distinguish between deleted, non-deleted, active and inactive
records, and adjust the output based on user needs.
This also addresses an oversight in the existing code that causes the default
behaviour (output deleted records along with non-deleted) to miss deleted
records if they have ID values larger than the highest-ID'd non-delted record.
Signed-off-by: Mike Rylander <mrylander@gmail.com>