fix portability statement parameter binding delegation
add tests to avoid regression
Merge pull request #461 from deeky666/DBAL-726

[DBAL-726] Fix portability statement parameter binding delegation