Part of fix for #18 on Gingerbread - call Looper.prepare() to set up the thread.
Fix for #18 - correctly pass the HOME environment variable in to the syncthing process.
Merge branch 'gingerbread_home_threading_fixes' of git://github.com/chr15m/syncthing-android