New function to write the configuration

I'd like to improve the config.yml file and to show the informations
about each line in comments. The bukkit config system doesn't allow me
to do it, but i'll do it without it.