[webapi] Update package setting of getCap

- This suite is capibility checking wgt, Do not pack it as main wgt(which index.html is linked to webrunner),
  Update it as sub wgt, it will have a correct index.html when packing
Merge pull request #1536 from haoxli/webapi/update-getCap

[webapi] Update package setting of getCap
Add declaration in the XML files
[webapi] Unify test suite component
Merge pull request #1538 from haoxli/webapi/component-update

[webapi] Unify test suite component
Merge pull request #1537 from jiajiax/jiajiax/update_xmlfiles

Add declaration in the XML files.