Update analyzer package to version 0.22.0

* Most of the changes are related to new APIs requirements for mapping between workspace uuid and analyzer Uri for source files, packages and libraries.
* There were also a couple of issue specific to how the analyzer tests were setup with mocks, so we had to handle theses cases to.

@devoncarew 
Probably want to use the function shorthand here (`=>`).