backporting resampling logic from localdev to this.

  So far we completed backporting:

  * stat1.json
  * ported logic for storing git SHA1 (from PageViews::View::JSON)
  * PageViews::Model::Sequential
  * PageViews::Model::Parallel
  * PageViews::View::JSON
  * modified output directory in stat1.json