Renders a knockout.js view model into an HTML template.