Added mimetype discovery with filemagic
Use doc2git instead of script to generate the documentation.