Updated code style, wkhtmltopdf binary auto detect, xvfb server and proc_open parameters

All my changes are here together, I will create an issue with each commit to speak about each one, because I don't know how can I create differente PR with each commit (all commits are added to first PR created).