Merge branch 'master' of https://github.com/OTRS/otrs
Improve Ldap-Sync by allowing to configure
* multiple fields which will be tried in sequence (first hit wins)
* static fields ("field"name starting with underscore, which is prohibited as
  ldap-attributeName)
* a combination of both (obviously static fields will always hit)
add documetation to AuthSyncModule::LDAP::UserSyncMap
Adds UnlockTimeout parameter to AddQueue script.

This commit adds the UnlockTimeout parameter to the otrs.AddQueue.pl
script. It uses "-t" since "-u" is already in use by UpdateTime.
Followup fix for bug#9828 - Dynamic field updates of unchanged dynamic fields cause event based actions to fail.
Removed duplicated code.
Fixed bug#9863 - Reset single filter in overviews leads to no results page.
Removed last sync date to prevent merge conflicts.
Fixed scale settings GUI.
Added validation for time scales.
Fixed distinct call in TicketSearch() to not use other fields than id.
This could cause duplicate entries if fields of joined tables were in the select clause.
Revert "Fixed distinct call in TicketSearch() to not use other fields than id."

This reverts commit d1f96a3583c1120211c0e78cf117d7e34b7a7079.
Moved JS logic from DTL to JS API.
Moved JS logic from DTL to JS API.
Repaired stats settings storing. Tidied.
Fixed bug#9872 - Default service is not applied to new customerusers.
Activate escalation notifications and events by default.
Activate escalation notifications and events by default.
Moved process import functionality in the backend module Kernel/System/ProcessManagement/DB/Process.pm.
Fixed: Auto response editor looses HTML formatting (bug#9880).