* Show trait type in `app:ls`
Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix#90
* followed comments to move some basic traits related functions to system.go
* Fix app:status issue
When the ApplicationConfiguration status haven't shown up,
it will hit an issue.