Fixes error when creating the db for Query Execution perf tests.

This makes the process a bit slower since it calls SaveChanges more often, but it works well.

Additionally fixing kproj and project.json files for the perf tests to reflect they are console apps and not libraries.
Merge branch 'perftestfix' into dev