strip trailing spaces
Change metadata collection to use *_ingest_list* file.
This allows metadata collection to work for capture and processed image data
and also ensures it follows and matches the the ingest process. Previously it
worked only for processed data and included everything in the `data` directory.
Don't require `data` dir for checkin; support proc'd and capture data
put validit checks in better order