Add related field 'shared_users' to Query template

I also added some other fields that I think are relevant and can be used
straightaway.
Create user template for Query user related fields
Add test case for serializing shared users
Merge pull request #69 from cbmi/issue-57

Add related field 'shared_users' to Query template