Include association schema in primary cache key's schema hash.

Closes pull request #47