[Windows] Fix issues when freezing application with cx_freeze.

* Add compatibility with matplotlib 1.3.1 (add dependency to six).
* Remove old code specific to py2exe.
* Rename param.py2exe to param.frozen.
* Also convert line endings of setup_windows.py and scriptlib.py
Fix incorrect version number replacement in release process.