Fixed: Set of pending time/state not working properly (process management) (bug#10639).

Conflicts:
	CHANGES.md
	Kernel/Modules/AgentTicketProcess.pm
Fixed bug#10857 - JS added too often in AgentTicketOverviewSmall.
Fixed bug#10892 - TicketActionsPerTicket open multiple popups at TicketOverview.
Tidied.
Follow-up for bug#10639. Also accept DefaultValue of StateID field.