Added debug information for integration

Also added way to retrieve Friends client id from Friends install
directory.