Test for index view of tickets.
Fix url in emails. E-mail assignee if ticket is assigned. Fixes #5