added some razor test code
WIP razor

further work on implementing razor, got a very simple template to
output. Added settings into the edit page to allow us to select the
render engine and template to use. More work to do.