Add configuration file support for Windows

And also fix a bug in modulecache.d which prevented successful compilation on Windows. 

Also adds a .gitignore.