Added Api.build_url
Поправлен контроллер API_Media, добавлена возможность указать модуль к которому относится картинка при загрузке и вывести данные относящиеся к определенному модулю
В связи с этим немного доработан редактор RedactorJS
Добавлен метод проверки в API контроллере откуда происходит запрос (Frontend, Backend)
issue #256
Fix update user
Update changelog
Added missing semi colons
Corrected white space and formatting.
Fix reflink class
Add reflink for user registration
Небольшие правки
Merge remote-tracking branch 'upstream/dev' into dev

Conflicts:
	cms/application/bootstrap.php
	cms/media/js/backend.js
	cms/modules/kodicms/classes/kodicms/controller/login.php
	cms/modules/kodicms/views/system/settings.php
	cms/modules/page_parts/media/js/controller/parts.js
	cms/modules/reflinks/classes/controller/reflink.php
	cms/modules/reflinks/classes/model/user/reflink.php
	cms/modules/users/classes/kodicms/controller/users.php
	cms/modules/widget/classes/controller/widgets.php
	cms/modules/widget/classes/model/widget/decorator.php
	cms/modules/widget/classes/model/widget/user/forgot.php
	cms/modules/widget/classes/widget/manager.php
	cms/modules/widget/media/js/controller/widgets.js
	cms/modules/widget/views/widgets/frontend/default.php
	cms/plugins/hybrid/views/datasource/hybrid/document/fields/source_array.php
	cms/plugins/hybrid/views/datasource/hybrid/document/fields/source_document.php
	cms/plugins/maintenance/backend.php
	cms/plugins/maintenance/init.php
	cms/plugins/page_fields/media/js/controller/page_fields.js
	cms/plugins/redactor/media/js/redactor.js