Update cewe2pdf.py

bugfixes:
-some keywords were changed to lower case
-empty images won't cause failure any more
-if one page fails, the script will continue with the next one instead of failure