Improved project generation (works better).

Cannot have been tested because it miss a function that
I will get by 'git pull', so I need to commit.
HTML compilation of a project now works fine.

The way HTML code is generated is more proper and works fine.
It generated a HTML file that can be used. However, the javascript files
and the css must still be added in order to preview the presentation.