Fix errors when block type installDB sql returns empty sql and check if ...

...on update required xslt_create -function exists to perform proper error message.

This will happen when you don't have the function xslt_create.