[ticket/11766] Hide edit, quote and delete buttons if topic is locked

But show quote button to guests if topic isn't locked

PHPBB3-11766
Merge remote-tracking branch 'Elsensee/ticket/11766' into develop-olympus

* Elsensee/ticket/11766:
  [ticket/11766] Hide edit, quote and delete buttons if topic is locked