Issue #368: dev installation, generate config.ini file automatically

I didn't want to add a dependency to sed as I am not sure all shells have it by default and if we have more than one variable to insert in the future, I think it's easier to manage with variables in a template, but yes sed was an option I considered.