Merge pull request #47 from hardikj/new-master

This pull request fixes pull #42

There are still issues as documented in #47, but lets merge this for now & address those in follow-ups.

Thanks Hardik!
Merge pull request #48 from hardikj/new-master

Fix stats, topfails pages issue and serves only those tests which  whose results are  missing in db
Add an index on results.tid to speed up result by commit retrieval
Merge pull request #49 from gwicke/result_tid_index

Add an index on results.tid to speed up result by commit retrieval
[WIP] fix skips Distr page and also save the stas per revision