[webapi] Maintain testharness, webrunner, test xsl in tools/resources

- Maintain testharness, webrunner, test xsl in tools/resources
- Add resources.json for copy resources to each test suite
- Update copy.py and move it to tools/build from tools/comm,
  fromat it using 'autopep8 -a --experimental -i copy.py'
[webapi] Remove testharness from each test suite

- Remove testharness from 130 test suites using:
  $ find -name "testharness*"|grep "tests/resources"|xargs -I% rm -rf %
  $ find -name "COPYING"|grep "tests/resources"|xargs -I% rm -rf %
- Remove 99 empty resources/ folder
  $ find -type d -empty|grep "tests/resources"|xargs -I% rm -rf %
- Some suites have unitcommon.js and idlharness.js, keep them in each suite
[webapi] Remove webrunner from each test suite

- Remove webrunner from 130 test suites using:
  $ find -name "webrunner"|grep "tests/webrunner"|xargs -I% rm -rf %
[webapi] Remove test xsl from each test suite

- Remove testcase.xsl, testresult.xsl, tests.css from 131 test suites using:
  $ find -name "testcase.xsl"|xargs -I% rm -rf %
  $ find -name "testresult.xsl"|xargs -I% rm -rf %
  $ find -name "tests.css"|xargs -I% rm -rf %
[webapi] Update suite.json to copy testharness and webrunner from tools/resources

- Add copylist in suite.json, to copy testharness and webrunner from tools/resources
  "copylist": {
      "PACK-TOOL-ROOT/resources/testharness": "resources",
      "PACK-TOOL-ROOT/resources/webrunner": "webrunner"
  }
Merge pull request #1561 from haoxli/webapi/move-testharness-webrunner

[webapi] Refactor scripts of test harness, web runner and test xls