fix(client): add "Referer" header to requests

When running Deis behind an SSL-terminated endpoint, there are
issues with Django's CSRF protection. Adding a Referer header
is mandatory when using SSL with Django.

Reference: https://code.djangoproject.com/ticket/16870

fixes #1002
Merge pull request #1218 from deis/1002-add_referer_header

fix(client): add "Referer" header to requests
test(component): add `make test` to deis/registry and unit tests for controller
test(utils) : add basic functional test files
refactor(tests): rewrite basic vagrant integration test in Go
fix(registry/test): use env vars for docker daemon connection info
test(refactor_code) : refactor code added dockercliutils
fix(logger/Makefile): update test-functional target for vendored $GOPATH
refactor(tests): added tests/utils go package
fix(tests): try to scale "cmd" if "web" process type fails
refactor(tests): add etcd and mock utility packages
test(workingframework):framework working

Added component tests for all the services and tested .
test(component): add working component tests

Added fallback function to get IP of running host
Added abstract function for running service level ping test
Removed debug print statements
refactor(tests): add comments to some test packages and clean up with goimports
fix(tests): randomize test port for each service
fix(tests): use "devicemapper" for STORAGE_DRIVER, not aufs
tests(etcd): update coreos/etcd to v0.4.4
fix(tests): randomize test-database TCP port
refactor(Makefiles): remove unneeded .PHONY target