Restoring official version of crawler4j. Adding initial tests for StatsCalculator