MX-1311 Fix array position projections on the query by pk path,
extend the id hack js test to cover this case.
Merge branch 'bugfixes/tokumx-2.0' into releases/tokumx-2.0