encodeWithCoder properly encodes has_one relationships as well
Merge pull request #71 from calicoder/master

encodeWithCoder properly encodes has_one relationships as well