- Add _to_wine_path(): converts Unix paths under Wine prefix to
Windows-style (e.g. ~/.wine/drive_c/... → C:\...)
- Set subprocess cwd to Editor's directory (editor.parent) instead of
dest.parent — MetaEditor is a Windows EXE and its CWD matters
- Use _to_wine_path() for /compile:"..." argument so paths use correct
drive-letter format under Wine
- Apply both fixes to cmd_compile() and cmd_check()
Resolution order for MQL5_DIR:
1. MQL5_DIR env var (explicit override)
2. Walk up cwd looking for a dir with Experts/ + Indicators/ children
3. MT5_BASE/MQL5 (Linux/Wine default)
When detected from cwd, also infers MT5_BASE as the parent directory.
- MQL5_DIR override via MQL5_DIR env var (Windows 10+ stores MQL5 in
%APPDATA%, not under the install dir)
- compile/check now pass absolute paths to /compile:"path" instead of
computing relative_to(MT5_BASE) which would fail when MQL5_DIR is
separate