Autocreation of config file

This fix enable automatic config creation using `config/parameters.yml.dist`. Unfortunately, due to module limitations and because of many config vars are on first level, currently only database connection info asked. All other vars will be copied as is. And if you add something to template file, it will be added to generated config.