Fixed class metrics for a single class, added class id parameter to js
functions, removed unused classes.
Added support for evolution of top N SearchPhrases.