fixed typo
small clean up
Merge pull request #169 from pjona/patch-11

small clean up
credit notes are also sent to customer mails
show only document templates which match chosen document type
add attachments support for new tickets
- add attachments support for new tickets
- multi attachments for new tickets and new ticket messages
missed ':'
unneeded ',' in sql query
helpdesk messages: image attachmentpreviewin popup
userpanel: fixed class names
userpanel: fixed class names