Refactor out IslandoraFlatBatchObject for easier reuse...

... Also, get a couple flags implemented (directory deduping and
waiting for metadata).