add conf xptemplate_hook_before_cr
support hook_before_cr
Merge branch 'f.conf' into rc
Merge branch 'f.engine' into rc