moved #defines & static declarations out of a header file

converted #defines and static char*s to QStrings using QStringLiterals
Fixed initializers which were causing errors in VC2012 update 3
Fixed two bad decltype references (cannot access member variables from a static function...)
Merge pull request #20 from wal-rus/fix-msvc2013

Fix msvc2013

Looks good.