Add efficient duplication of prepared statement.
merge MMcM: Add efficient duplication of embedded prepared statement.

Merge pull request #1529 from MMcM/sql-layer/sql-embedded-prepared-statement-duplicate
https://github.com/FoundationDB/sql-layer/pull/1529