hidden path discovery toggleable

This addresses issue #4 . Hidden path toggling is done via command line options.
By default follows the original behaviour ie ignoring hidden paths.
Oops, that was a line duplicated accidentally. Thanks for the catch.