Added functions and queries to facilitate resource synchronization
Merge pull request #41 from VertNet/feature/resource-sync

WIP: Added functions and queries to facilitate resource synchronization