Fix mising connection parameter to schema objects.

When calling create/update the created schema object should be passed
the current connection.

Fixes #2668
Test case that demonstrates issue with count and Translate
Fix issue with find(count) and TranslateBehavior.

Fixes #2667
Merge branch 'issue-2667'

Fixes #2667