Querying relationships by the ID was not working.
Moving query tests to the RelationshipQueryTestCase. Added test case for id-based queries.
Merge pull request #172 from pedroigor/master

Fixing id-based queries for relationships. Added more test cases.