Add qmake project and normally generated files for static windows library

* add qmake project file discount.pro
* add config.h for windows
* mkdio.h.in -> mkdio.h
* version.c.in -> version.c
add file blocktags which is generated by mktags utility program
fix compile problem by removing inline statements
fix redefinition of DELETE (winnt.h)
Fix link problems
Merge branch 'master' into windows-port