Implement pragma(lib) using module metadata.

Since LLVM 3.3 pragma(lib) can be implemented like DMD does.
Merge pull request #429 from redstar/moduleflags

Implement pragma(lib) on Windows using module metadata.