backend support for controlling the export of unpublished records
removed calls to get_child from outside the stream_handler blocks to maintain correct streaming behavior
added option to download ead including unpublished records to the frontend
added tests
improve exit condition in stream_out when dealing with an empty doc