Implemented transition path from ~/.go-ipfs/config to XDG config dir

If the file ~/.config/go-ipfs/config doesn't exists but ~/.go-ipfs/config
exists, the file is moved to its new location. The database directory
should be specified in the configuration file as an absolute path, and is
not moved.