patch for allowing restricted users to search on tracker

clean-up

adding broken test

adding tests

Change-Id: I79fc389001f373db295f25ac3cc8da1ff7682104
Merge commit 'refs/changes/59/259/2' of http://gerrit.tuleap.net/tuleap into tuleap-stable-master

* http://gerrit.tuleap.net/tuleap:
  patch for allowing restricted users to search on tracker
Tuleap 5.10.99.19