Mostly changes to cook and jpm. Also some code for file associations in the windows installer, and adding the :linux value from os/which (instead of just :posix).