[*] FO: display Error500 if no database access

Sometimes, we have some problems with the MySQL Database and a Fatal Error is done. With this, we show the error500 template.
Merge pull request #566 from PrestaEdit/patch-45

[*] FO: display Error500 if no database access