only consider client libs of the requested type (fixes
https://github.com/Adobe-Consulting-Services/acs-aem-tools/issues/85)
minor cleanup
additional tests
Merge pull request #86 from kwin/bugfix/85-clientlib-optimizer-correctly-use-types

fix for https://github.com/Adobe-Consulting-Services/acs-aem-tools/issues/85