Add warnings related to composite keys not working.

Refs cakephp/cakephp#3711
Merge pull request #1420 from cakephp/3.0-behavior-warning

Add warnings related to composite keys not working.