NOJIRA Allow setting the TTL for the new JSON search service cache as PHP constant in setup.php

Defaults to an hour but for setups where data changes very, very
frequently and front-ends/apps using the service should always be
up-to-date, you might wanna shorten the TTL.