set the default GITLAB_PORT to 443 if https is enabled, else set it to 80
construct the gitlab_url based on whether https is enabled and whether the default ports are changed
use https protocol in the wget request if https is enabled
fix git over ssh when the default http/https ports are not used.

Internally the SSH and the http/https servers always bind to ports 22 and
80/443 respectively. If the GITLAB_PORT variable is set to any other
port, then cloning over SSH would not work.

This is because internally gitlab-shell tries to communicate with the
gitlab server over http interface. In gitlab-shell configured with
the GITLAB_PORT value the conmmunication will effective fail and thereby
the cloning operation would return an error.

To fix this, we make gitlab-shell communicate with the http server
directly with the default http/https ports since this is all internal.

Prior to this update, cloning repositories over ssh protocol would not
work when the container is started in the following way:

```bash
docker run -i -t --rm \
  -p 8888:80 -p 2222:22 \
  -e "GITLAB_PORT=8888" -e "GITLAB_SHELL_SSH_PORT=2222" \
  sameersbn/gitlab
```
Merge branch 'feature/fix-usage-with-non-standard-ports', fixes #53, #34
add waffle.io badge
Merge pull request #55 from waffle-iron/master

waffle.io Badge
README: added waffle.io badge for testing status
README: document GITLAB_HTTPS setting
added GITLAB_SSL_SELF_SIGNED configuration option
added gitlab.https nginx template for ssl support
nginx: use the gitlab.https config if https is enabled
perform http to https redirection with same hostname as the request
redirect to the correct port during a http to https redirection

Fixes http to https redirection when the default https port is not used
got the GITLAB_PORT

For example running the container like so:
```bash
docker run -i -t --rm \
-p 4443:443 -p 8080:80 -e "GITLAB_HTTPS=true" -e "GITLAB_PORT=4443" \
sameersbn/gitlab:latest
```

Will make sure you are redirected to https://localhost:4443 when you
access the application at http://localhost:8080
export port 443
renamed gitlab.https to gitlab.https.strict
added gitlab.https.permissive nginx template that will be used when you want to allow both http and https access
added GITLAB_HTTPS_ONLY configuration option
gitlab-shell: use http over localhost to talk to gitlab-ce api whenever possible
gitlab-shell: use default gitlab_url talk to gitlab-ce api when signed ssl certificates are used