[WinPlat] Implementation of GetApplication for Windows Platform

Includes implementation of AssocQueryString module.

Too many newlines here.