GitLab, fix File.expand_path("~xxx").

Since '~auser' differs from '$HOME'.

A  gitlab/attributes.git:
  Declare filter for '*.rb' and '*.rake'
A  gitlab/config.git:
  Declare filter 'FileExpandPath'
M  gitlab/gitlab.yml.tpl:
  Add Redmine settings
M  gitlab/install_or_update_gitlab.sh.tpl:
  Clone without initial checkout, then checkout
  for the filter to be called
A  sbin/fileExpandPath_replace:
  Replace 'File.expand_path("~...")' by '$H'
A  sbin/fileExpandPath_restore
  Replace '$H' by 'File.expand_path("~...")'