Support application management

This patch includes the following features:
(1). Start an app through Admin-UI
(2). Stop an app through Admin-UI
(3). Restart an app through Admin-UI
Add application management support

Refine the code according to Russell's comments
Add application management

Fix some of the js format errors.
Merge pull request #21 from xingzhou/add-app-management

Support application management