Fixes:

- E-mail template tags fix - {%operator%} tags were always refering to original ticket operator instead of the one sending notifications.
- Fixed SQL queries for counting tickets when logged in as Operator.
