Load Freemarker template from database.

Ready but depends on Erwin's R script changes so let's wait for those?