Associate cached statements with correct logical connection

Fixes bug https://bugs.launchpad.net/bonecp/+bug/1247826

I chose to recreate the statement handles on cache hit. This mimics how ConnectionHandle is recreated when recycling a connection.