Add PHP templating engine support
Add template tests