constructor(global){
        this.global = global;
        this.flags = {};
        this.flagRegistry = {};
        this.urlFlags = {};
        // Jasmine spies on this in 'environment_test.ts'
        this.getQueryParams = getQueryParams;
        this.populateURLFlags();
    }
Returns the current environment (a global singleton).

The environment object contains the evaluated feature values as well as the
active platform.

@doc {heading: 'Environment'}