Fix the saving of the personal build tools

Hold the application alive when the personal build tools are saved.
And do the save (asynchronously) when the BuildToolsPreferences dialog
is closed.
latexila_utils_replace_home_dir_with_tilde() in C

The function comes from gedit.