Optional BULK INSERT with formatfile

Started work on an optional BULK INSERT using a format file, which does
impose some limitations, but may perform better in scenarios with very
large files, or initial loading of a large history.