Added Answer-Study relationship with attribute

Fixed incompatibility issues for relationship.
Merge pull request #1 from kj91/AnswerStudy-pivot

Added Answer-Study relationship with attribute