Allow definition of view_bug_threshold

Following up on removing hard coded REPORTER references,
allow users to define a view_bug_threshold to replace hardcoded instances
of VIEWER.

This allows "hiding" projects from a user that would normally
have global developer access by setting the level to administrator only
for instance.