Add related field 'shared_users' to Query template

Resolves #57.