Generalize binary building, add static resources, add spec files for mitmproxy, mitmdump and mitmweb

We're now ready to use the same script (more or less) to build Windows
binaries.