Allow a page to force showing the settings button.

Change-Id: I433933c7f0a398d2d7cd082db61e41507510c2ab
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Introduce function to set repository settings page visibility.

Change-Id: Id61a2817561013c6fa85ddbca459b385d24de3e7
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>