Make withParameterOfType take a const void*.

Some compilers (gcc 4.8.1 at least) do not do conversion from
const void* to void*, and we can therefor not mock out functions
that takes const parameters. The inverse conversion is however
always done.
Make cmake actually be build and run in travis.
Merge pull request #126 from martiert/master

Allow passing const arguments to withParameterOfType