Change submit so that the results from the server can be used on the client.

Rename results to server_report, to help distinguish between that and the local report object.

Make submit pass on the commit flag.

Return the server report so that the client can use it.

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212736 91177308-0d34-0410-b5e6-96231b3b80d8
Refactor submission logic in nt

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212737 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unused import

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212738 91177308-0d34-0410-b5e6-96231b3b80d8
Fix hanging comment

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212739 91177308-0d34-0410-b5e6-96231b3b80d8
Support update for Reports

Both multisample and LNT report need ways to update reports.  This patch
adds some simple functionality to update a report with new samples,
while keeping the metadata correctly in sync.

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212740 91177308-0d34-0410-b5e6-96231b3b80d8
Fix server bug in client result reporting

LNT client was reporting everything as UNCHANGED_PASS, because a
comparison_window of 0, each result was only compared with itself.

This should make both email reports and command line summary work.

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212741 91177308-0d34-0410-b5e6-96231b3b80d8
Fix missing import from my bad merge

git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@212746 91177308-0d34-0410-b5e6-96231b3b80d8