Windows resources directory

change windows implementation of switchToResourcesParentIfRequired() to search for resources first in the working directory of application, and then if the path appears to be a build directory, in the interface source directory.

Closes #2118