Add message limit for single ticket
Fix crash bug in calling addticket
Improve email messages to users on ticket status

include link to ticket.
Tweak for login redirects
Switch to prefer plaintext to html.
Rewrite logout mechanism
Merge branch 'livetest' into development