[db] improve/remove of pvr related database methods

This PR gets rid of two database helper methods (FormatSQL and ResultQuery) which are unnecessary 
because they could replaced by PrepareSQL() and dataset query() method. The methods are only used in the pvr/epg database derivation.

I also change the signature/implementation of the database method DeleteValues() to use Database::Filter as parameter to limit the set of values to delete.