* Generate restful api based on Swagger
As OpenAPI has to be quickly developped to support front-end developement, so
did the restufl api docs. Based on swagger, generate the docs automatically
* fix conflicts and add application list annotation
* implemented trait attach, get application
* implemented API for trait detach and fix trait detach issue
* implemeted API add/sync/list capability center
* implemented API capability add/remove/list
* update test-cases according to new cli style
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* merge two ginkgo describe to one as in github environment ginkgo does NOT follow the order of describes
* Implement API `api/envs/default/apps/
implement API `api/envs/default/apps/ and refactor code
* address comments from @wonderflow and @ryan
* fix code rebase issue
* Implement env APIs
implemented APIs for env and make api-test
and e2e-setup
* fix ci issues
* address comments