* Added license change listener
* Fixed location of adding license listener
* Made tests unaffected
* Minor refactoring
* Changed order of checks to avoid breaking all tests
* Using CreateJobOnce to handle HA
* Updated context
---------
Co-authored-by: Mattermost Build <build@mattermost.com>