Template capture

1, fix template reader bug
2, new `controller.Capture() template.HTML` and `controller.CaptureTemplate(string) template.HTML` interfaces