ResolveRelativePath Fixes

This PR builds on the work @lordoaty did in https://github.com/mono/MonoGame/pull/3073.

It adds fixes for unix-like systems and includes a unit test that hopefully covers the gamut of possible paths we can get.

Fixes https://github.com/mono/MonoGame/issues/3064.
Fixes https://github.com/mono/MonoGame/issues/3041.
I only included that because the original code claimed that it was getting rid of path separators. I imagined it had something to do with environment variables or other having paths separated with semi-colons.