whitespace: Clean up trailing spaces and tabs
template: Move to jinja2