Added support for dependency management using go modules.
Note that Go version 1.11+ is required if using go modules for
dependency management.
Updated the gitlab CI yaml file to use go modules instead of copying
everything to GOPATH. Ran go mod download before running build script to
download all dependencies into cache.