Adobe-Consulting-Services/acs-aem-tools — pull request #47 by davidjgonzalez (2014-05-18 22:30:41+00:00)
Title: Feature/clientlibs optimizer

First pass at a Client Library Optimizer implementation..

Im sure there's plenty of room for improvement, but it should work almost all of the time. There may be outliers with multiple categories pointing to the same CL, etc. Anyhow, It probably could use a 2nd set of eyes (I was getting off behaviors off the OOTB APIs where Transative deps weren't showing up from the APIs, but would appear when I `cq:includeClientLib`d my "optimized" include.

Output pre-optimization
![aem_fiddle___acs_aem_tools](https://cloud.githubusercontent.com/assets/1451868/3008975/7d053756-dedb-11e3-882e-e772764b1774.png)

Output of optimized Client Library (inputs where the categories from above screenshot)
![client_library_optimizer___acs_aem_tools](https://cloud.githubusercontent.com/assets/1451868/3008978/8eab69ee-dedb-11e3-8fbb-decd8601469f.png)