CMS-2024 Toolbar: Adding elements after greedy spaceer does not work properly

Fixed order in Toolbar. Some refactoring in Tollbar class
Merge pull request #347 from enonic/CMS-2024

CMS-2024 Toolbar: Adding elements after greedy spaceer does not work pro...