Clean-up some code related to user & global configuration.

Now, we install the init scripts for all the different shells and the user choose which one he wants to load. I'm sure distros deal with that in a much better way, but well ... This at least let us to export the variables and hence read them n in subshells (such as the OCaml toplevel).

Fix #515