Merge pull request #155 from thedax/master

Only append a slash to the directory if there isn't one on the end.
Fix naming for Blackberry.
Move the GPU vendor detection to native
Minor cleanup
Support system language and region in Blackberry.
Correctly identify language and region on all Qt platforms.
Use a better method for getting locale with Qt. Now works with Qt 4.7.
Buildfix for Qt on Windows.
Make build work for Qt5 as well.
Initialize a variable
Linux Qt5 fix.
Qt: Don't crash if audio feed is null.
Merge pull request #156 from unknownbrackets/qt-minor

Qt: Don't crash if audio feed is null
Fix some initialization order warnings.
Fix some switch/case warnings.
Fix some type comparison warnings.
Fix some const usage warnings.
Merge pull request #157 from unknownbrackets/warnings

Warning fixes
Dumb typo.
This define is redundant. __STDC_CONSTANT_MACROS should be defined globally instead.