Only bust the queue cache if the grant/revoke succeeds

For consistency with whatever we pulled out of the database, compare the
right name to the record objects rather than the passed in argument.
This ensures the right name is properly canonicalized.
Bust the queue cache when CreateTicket is granted/revoked

The default /Elements/SelectQueue invocation checks CreateTicket on each
queue, so the cache may be stale if we don't bust on CreateTicket too.

At this time, no other rights are actually checked through invocations
of SelectQueue.  If they were, we'd have to bust the cache on those too.
Remove misleading ShowTicket rights check in search queue selector

/Elements/SelectQueue only uses CheckQueueRight if ShowAllQueues is
false; by default it is true, however, so the ShowTicket right was never
checked when generating the queue list for the query builder.  This has
been true since the ACL check was introduced in 11195d4.

In fact, checking the ShowTicket right would incorrectly hide queues for
which the current user has ShowTicket via Requestor or another role, but
not globally on the queue.  The ShowTicket right properly belongs at the
individual ticket level, and should not be used for the queue list.
Remove unused arguments from SelectLang, mistakenly copied from SelectQueue
Merge branch '4.2/queue-cache'