ResourceManager: Find Bolt's root directory by cutting off before the last 'vendor' directory.

Fixes #1.
Merge pull request #1971 from rwetzlmayr/issue-1

ResourceManager: Find Bolt's root directory by cutting off before the last 'vendor' directory.