[PECOFF] File extension is case-insensitive on Windows.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@193797 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Change data directory atom structure.

The data directory in the PE/COFF header consisted of list of data directory
atoms. This patch changes it -- now there's only one data directory entry that
contains former data directories. That's easier to handle in the writer as well
as to write to/read from YAML/Native files. The main purpose of this refactoring
is to enable RoundTrip tests for PE/COFF.

There's no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@193854 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Enable RoundTrip{YAML,Native}Pass.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@193881 91177308-0d34-0410-b5e6-96231b3b80d8