Extended DB schema for scoring

Terms stores (Score, Consensus, Class) and new table TermStats
keeps all the information needed for maintaining term scores.
Class and consensus information now displayed in UI. Next, update
score on reputatation change and on vote change.
added TODOs for tomorrow