added newlines @EOF
extracted global header menu items array indexes
removed global path variable from DefaultSettings.php; made path setter and getter public; created default components path in constructor
moved UIFactory class to better place
Merge branch 'DAR-719-code-review-2nd-round' into DAR-719