Added primary_key support for has_many.

Also tested foreign_key support explicitly.
primary_key support for belongs_to and belongs_to_active_hash.
Merge pull request #71 from tomtaylor/master

Added primary_key support for has_many