refs #5920 incremental commit; reconstruct export format to use json encoded array rather than sql only; added import, notrash, trashonly options; work throughout
fixes #6037 adds valid file extensions