Reorganize and fix render()

Avoid the constant moving back and forth between full and relative paths
Allow to remove all generated files from source directory
Give more feedback to the user about what is generated
Fix imports and documentation for HTML tags
Add a function to create an HTML table from a tabular R structure
Fix line breaks in rendered templates
Render each file from its own directory
Fix comments and whitespace