Make ImpressPages compatible with PHP 5.5

In PHP 5.5, mysql_ functions generate E_DEPRECATION warnings. If these are simply dropped, ImpressPages works just fine.

IMHO E_DEPRECATED should be dropped generally, as that is nothing which uses should bothered with (these warnings are only relevant for core devs):