Bug 1040835: factor out exec with a semaphore into execonce; r=markco

..and refactor firewall::windows_settings to match
Bug 1040842: use mozilla-build for python on windows; r=Callek