added named param support, fixed rowCount, fixes for dbal