Don't hard code the sugar home

Also look for the debug file inside the profile.
Commit from Sugar Labs: Translation System by user cjl.: 171 of 419 messages translated (8 fuzzy).
Move debug file creation to the sugar script

It needs to happen as early as possible and it's more
readable in a shell script then in python code.
Commit from Sugar Labs: Translation System by user cjl.: 194 of 419 messages translated (8 fuzzy).
Revert workaround for the gtk-ok button

This reverts commit e731544f .
Commit from Sugar Labs: Translation System by user cjl.: 419 of 419 messages translated (0 fuzzy).
Commit from Sugar Labs: Translation System by user cjl.: 419 of 419 messages translated (0 fuzzy).
Merge branch 'master' of github.com:sugarlabs/sugar
Commit from Sugar Labs: Translation System by user cjl.: 419 of 419 messages translated (0 fuzzy).
Commit from Sugar Labs: Translation System by user cjl.: 271 of 419 messages translated (8 fuzzy).
Commit from Sugar Labs: Translation System by user cjl.: 198 of 419 messages translated (8 fuzzy).
Enable use of proxy in updater - SL #4630

As documented here [1] (See Session features), the proxy resolver
is a optional feature and need be added to the session.
Fixes 4630

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>

[1] https://developer.gnome.org/libsoup/stable/libsoup-client-howto.html
Commit from Sugar Labs: Translation System by user cjl.: 418 of 419 messages translated (0 fuzzy).
Merge branch 'SL4630-updater-proxy' of https://github.com/godiard/sugar into godiard-SL4630-updater-proxy
Commit from Sugar Labs: Translation System by user cjl.: 261 of 419 messages translated (8 fuzzy).