Final stats queries and test data
Added tests for stats view queries
Added defmain to run all stats queries, plus supporting functions and tests
Switched input and output to hfs-textline
Merge pull request #55 from VertNet/feature/stats

stats views now fully tested and migrated away from pail/thrift
Fixed merge conflict