fix getBaseUrl function for windows platform
added test for getBaseUrl fix
Merge pull request #395 from formapro-forks/issue#368-wrong-image-path

Issue#368 wrong image path