Merge pull request #45 from VertNet/feature/stats-queries

Added collection and class queries
add Resource protocol
Merge branch 'feature/sync' of github.com:VertNet/gulo into feature/sync
Added docs
Added more docs, tweaked names of class-related functions and queries
test WIP
Simplified thrift unpacking by using generic methods in helper functions
Added tests and future facts for views.clj
Fixed merge conflict