More work on Windows packaging

Stripped out the py2exe stuff and replaced it with a PyInstaller spec
file. PyInstaller seems to be (slightly) less broken and incompetent
than py2exe ... but only just.

Updated the WiX configuration script to add icon handling.