fix some bugs in SqlHelper.php and PdoWrapper.php. Implement execute wich allows stadistic options for queries.

Signed-off-by: Roger Manich <roger.manich@gmail.com>