add head images extracting.

1. add image xpath generating in news xpath generator.
2. fix image problem in news extracting.
3. add process to add new template in news extracting.