Also added an optional scope parameter to the TicketAuth request (which Publ itself doesn't use and it doesn't make much sense in a TicketAuth context but maybe someone will have a use for it)
Added the ability to specify absolute links on the login and logout template functions