update process of portal xpath generatint(on going).

1. finish headline xpath generating and normal news xpath generating.
2. add a simple dialog to let user select category, status, headline
status, but not finished yet.

TODO:
1. finish the dialog to let user select category, status, etc.
2. finish the xpath generating process of portal sites.
3. output the finished xpath for portal sites to copy to templates file
and then input, or just directly update into database with template
management api. but, can not post? need to verify.