Add null context checks for read permission for all RelationshipProperty...

Hi Dan:

Added code to check for null context. This needs to be merged with latest branch. Noticed that this branch has been aligned with develop branch.

Regards
Mouli