Fix web error page generation and http status.
Update web window.__change javascript object generation
Fix Web UrlManager::getByFunction() section context
Fix commentary
Merge pull request #1069 from inthause/documents

Update web window.__change javascript object generation
Fix menu max level.
[#1071] Search field reflected XSS vulnerability
Add addItem and removeItemByValue methods in CollectionArray.
Fix tests with phpunit 4.3.
Fix PHP warning in Menu block.