Use separate template for gitlab-ci smtp_settings.rb generation.
Use the same template for gitlab and gitlab-ci.
Add gitlab-shell log_level and audit_usernames as configurables.
Declare app variables on top
Add option for gitlab-shell http_settings.
Update rugged and libgit2 to 0.21.2
Merge branch 'update_rugged' into 'master'

Update rugged and libgit2 to 0.21.2

This is needed because we have to match the version of rugged in gitlab-rails's Gemfile.

See merge request !253
Merge branch 'master' into 'master'

Use separate template for smtp_settings.rb  for Gitlab CI

As I mentioned in Issue #345, there is a bug in the generation of Gitlab CI smtp_settings.rb. It uses the same template as for gitlab. This commit introduces a separate template for CI.

See merge request !250
Merge branch 'gitlab_shell_configuration_options' into 'master'

Gitlab shell configuration options

Fixes #291

`http_settings` has a default value of `{}` in gitlab-shell and `self_signed_cert` is [only used in if statement](https://gitlab.com/gitlab-org/gitlab-shell/blob/master/lib/gitlab_net.rb#L57).

`audit_usernames` and `log_level` all have default values in gitlab-shell.

See merge request !252
Add latest changes to the Changelog.
Make sure that external_url contains schema.
Document what gets purged in the Makefile
Merge branch 'postinst_external_url' into 'master'

Postinst external url

Fixes #354

See merge request !255
Merge branch 'makefile_comments' into 'master'

Makefile comments

This change adds some comments to the Makefile to explain why we do certain things.

See merge request !256