[IMP] Check the presence of wkhtmltopdf

Improved the code to work the following version of webkit "wkhtmltopdf
0.12.1-b8ea0f4 (with patched qt)".