use DIRECTORY_SEPARATOR constant instead of hardcoded /
used WikiaDataAccess in UIFactory::loadComponentConfig
cached variables for JS and CSS assets dependencies
Merge branch 'styleguide' into DAR-1242; merged code reviewed changes made for DAR-1244
fixed setTemplatePath() after re-using there Sanitizer
refactored the assets loading part in init() method; added better PHPDocs
got rid off addComponentsId() because it's useful only for Special:Styleguide page; moved this logic to UIStyleguideComponents::getAllComponentsFromDirectories; added new method UIFactory::loadComponentConfigAsArray() which is the only public method and uses three old private methods
added namespaces
updated README.md with namespaces, found one more place when namespaces wasn't mentioned and found one more place where DIRECTORY_SEPARATOR should be used
got rid off small white square at the top of Special:Styleguide
PHPDoc clean up and clean up after adding namespaces
updated PHPDoc and documentation; renamed parts connected to template variables
fixed Special:Styleguide after previous changes
updated documentation
removed unnecessary variables
changes with wfProfile* functions
Merge pull request #1243 from Wikia/DAR-1242

DAR-1242 Refactor UIFactory and UIComponent
merged styleguide branch and resolved manually conflicts in /resources/wikia/ui_components/button/button_config.json