rebasing
Merge branch 'master' of https://github.com/gwicke/testreduce
fixed getstats to get rid of unnecessary extra cql query, also added link to regressions and fixes in main page
fixed a dumb bug
Handle empty-db case
Handle the empty DB case

* Don't insert a dummy commit
* Handle starting from an empty DB

Issues:

When restarting the server, tests are processed from scratch for the current
revision instead of continuing with the remaining tests.
fixed front page display of regressions and fixes
WIP: empty db support
Update to latest node-cassandra-cql
Use executeBatch in importCassandra.js for speed & accurate reporting
Fixed a small bug

* changed a undefined argument passed to execute fn. to null
Client should not crash Server when db is empty

* solved a bug in getQuery fn.
* solved a bug in initPQ fn.
* solved a bug in getStats fn.
made importCassandra fill tests_by_score also
Added support for empty test_by_score table
fixed and cleaned pull #42
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!
fixed stats and topfails pages
[WIP] Clien should not pick tests with results in db on server restart
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