Fix invalid fwd declaration
Minor: Fix API issues in parsesession.h
Make compile with upcoming Qt 5.4
Make the test compile.

Linker complains: ../cppduchain/libkdev4cppduchain.so: undefined
reference to `ParseSession::mapCallAstToType(AST*,
KDevelop::TypePtr<KDevelop::FunctionType>)'