This patch adds two new filternames 'visible-allowhidden' and
'visible-warnhidden' which will be used to access hidden commits.
'visible-allowhidden' will allow access of hidden commits without any warning.
This will be for read only commands.
'visible-warnhidden' will allow acces of hidden commits but will warn for that.
This will be for recoverable write commands.
For unrecoverable write commands, we don't need to have anything new as that's
the current behaviour.
The idea to add new filternames is taken from directaccess extension from
fb-hgext.