[#5666] ticket:261 set app_config_id to attach when moving the ticket.
[#5666] ticket:261 set app_config_id to thumbnail attach when moving the ticket.
[#5666] ticket:261 Minor style fix
[#5730] ticket:265 Test for moving ticket with comments
[#5730] ticket:265 Set discussion_id on posts when moving the ticket
[#5730] ticket:265 Set discussion_id on attachments and fix tests
[#5730] ticket:265 Fix new ticket url in logs