Fixed debugger crash and libraries

Upgraded to 5.1.0-rc1 with MinGW 4.8
Had to recompile QJson with MinGW 4.8 from 4.7