core, moved QCryptographicHash from cpp to .h

This symbol is used in the .h and it fails to compile
on some platforms.