CB-4910 Default config.xml to the root instead of within www/

Logic should still be backwards-compatible with project that have
config.xml within www/
CB-5735 Don't write out id & name if config file already exists

Applicable to create --link and create --source