add TemplateExtractor.cpp/h
add templateExtractor's ut into makefile