Icingaweb shoul work without optional extensions when they are not used

When optional classes and php extensions like pgsql and additonal Zend-Pdos are
actually required by creating a new resource or authentication backend,
perform a check and display a warning instead of just throwing an exception.

refs #4788
Fix include

refs #4788