Fix flakyteststat history query to filter by project
Fix flakyteststat history query to filter by project

Summary: Flaky tests history query was not filtering by project. That was causing the graph to show tests with the same name from other projects, like in this screenshot: https://www.dropbox.com/s/ifmtogsgnw6fe3q/Screenshot%202015-05-29%2013.21.05.png?dl=0 (note that there are only three red columns in the big graph, but there are four in `test_account_change_language`, which should be impossible). This patch fixes it by filtering the flakyteststat history query by project ID.

Test Plan: Tested locally. After applying this patch, the same page that was bugged before is rendered correctly: https://www.dropbox.com/s/qnxvybt52md4mpg/Screenshot%202015-05-29%2013.21.25.png?dl=0

Reviewers: haoyi

Reviewed By: haoyi

Subscribers: anupc, changesbot, mkedia

Differential Revision: https://tails.corp.dropbox.com/D111991

wfxiang08/changes,dropbox/changes,dropbox/changes,bowlofstew/changes,bowlofstew/changes,dropbox/changes,wfxiang08/changes,dropbox/changes,wfxiang08/changes,bowlofstew/changes,bowlofstew/changes,wfxiang08/changes