Support Entity Relationship Metadata

Adds support for parsing Relationship Metadata.
Moves FetchXml condition support to Entity class.
Adds configurable link-type attribute to LinkEntity.