Fixes bugs in Analyzer

Analyzer is now stateless. The sorting of TimeMeasurements is now
done by the DBMS.
Merge github.com:steria/log-parser