Rewrite of the database system used in WTF.
Merge pull request #249 from google/analysisrevamp

Rewrite of the database system used in WTF.