Added caching tests for customer companies.
Correcting "apt-get search" to "apt-cache search".
Changed display of next state in bounce to match other ticket modules.
Fixed bug#5307 - Tickets can be raised against an invalid Customer Company.
Code cleanup
Fixed BuildSelection UnitTest.
Corrected comment for bug#8719
Fixed bug#5307 - Tickets can be raised against an invalid Customer Company.
Ticket searches with OlderDate/NewerDate restrictions are cancelled if OlderDate is before NewerDate or if NewerDate is in the future.
Since those kinds of searches would create empty results regardless of other restrictions, cancelling the searches speeds up the response.
This fixes bug #3434.
Improved frontend tests.
SMTPTLS backend no longer requires username and password.

Some (local) SMTP servers do not require the username and password but
still use TLS.
Fixes bug#6985 - http://bugs.otrs.org/show_bug.cgi?id=6985
Fixed bug#8667 - No error Message when tryiing to Merge Ticket with itself.
Queue lists now show more than 51 tickets per page.

Previously each page displayed max. 51 tickets even if the agent
configured a higher number.
Fixes bug#5475 - http://bugs.otrs.org/show_bug.cgi?id=5475
Fixed Ticket Loop protection with multiple From addresses.

Fix loop protection error on PostgreSQL and Oracle if auto reponse is set
and more than one customer is selected in Phone ticket.

Since OTRS 3.1 the FROM field in articles can contain more then one
address, but only if used from the Phone ticket mask.
In this case the complete FROM field with all recipients is stored
in the loop protection table; and is quite easy to overflow. On
MySQL this is silently truncated but on PostgreSQL or Oracle it
does not, and causes an error.

This patch splits out the addresses and inserts a single line for
every address, which is more clean and mitigates the size issue.

BTW loop protection is only used for auto-replies at the moment.

Fixes bug#9594 - http://bugs.otrs.org/show_bug.cgi?id=9594
'No auro-reply sent with multiple From addresses in
AgentTicketPhone on PostgreSQL and Oracle.'
Kernel::System::PID uses time()

so it must be accounted for in UnitTest::Helper
Updated Turkish translation, thanks to Sefer Şimşek @ Network Group.
Fixed bug# 9613 - CustomerTicketZoom shows JSLint error if no dynamic fields are configured.
Removed leftover from git conflict marker.
Revert "Fixed bug#9537 - DB.pm 'QueryCondition' removes backslashes (from CustomerUserID/CustomerUserLogin)."

This reverts commit f3f52031afa8ad3282973e8841731306af0f1a2b.

Conflicts:
	CHANGES.md
Merge branch 'rel-3_2' of git.otrs.com:otrs/otrs into rel-3_2

Conflicts:
	CHANGES.md