Changed the server to use the application file path, rather than the binary path, when creating the weaver output (and cache) directories when running an application. This simple fix makes sure source-code based applications wont bloat the weaver cache. Part of #1386.
Merge branch 'issue/1386' into develop. Fixes #1386.