Only run functional tests when Kafka is available

- Require kafka to be available when when ENV[CI] is set.
- If that environment variable is not set, and Kafka is not available, functional tests are skipped.

@eapache 
of the two calls to this function, only one of them uses defaultValue, so I'm tempted to just get rid of this function and call os.Getenv directly. thoughts?