Merge pull request #62 from mastercoin-MSC/database-staging

Sync to Master
Add support for block stats from db
Merge pull request #924 from achamely/dbstaging

sqltools library, db call for block status