Honor primary_key option in $has_many when eager loading.

Fixes primary_key support when using has_many relationship and eager loading together (#366).
Merge pull request #5 from tuupola/366-has-many-eager-primary-key

Honor primary_key option in $has_many when eager loading.