Make QSResourceManager thread safe

Fixes #1861
Use [QSResourceManager imageNamed] over [NSImage imageNamed]
Fix a couple more bugs that appears after using QSResourceManager
Merge pull request #1871 from quicksilver/qsresourcemanager

Make QSResourceManager thread safe