Fix resources path to launch CLI on Windows.

On Windows resources location had a slash prepended (i.e. "/C:/Foo/..."),
which resulted in silent inability to launch CLI.

This patch fixes it and adds additional debug-levelled logging
to ease figuring what's going on in case of problems.
Merge pull request #7 from drdaeman/master

Fix resources path to launch CLI on Windows