Abstract restQuery formatting into a helper function other models can use.
Expose XM.ItemSiteListItem.restFetch() for REST API exclusive items queries.
Fix merge conflict.
Fix build_app error from dollar sign comment.
Add in missing join.
Make sure join name is safe.
clause.joins is a string.
Check for and use existing public.item join.
Add count support. Act more like XT.Data.fetch()
Keep the result consistant.
Merge pull request #1481 from bendiy/exclusive_items

 Expose XM.ItemSiteListItem.restFetch() for REST API exclusive items query