Clean up the testimonial code

Put the code to get testimonials all in the project.js file and put the
unique bits of code in the templates in the views directory.