Move virtual filesystem test to more logical place.
Ignore irregular files.
Refactor and fix bug.

The bug prevented vim-rooter identifying the project root directory when
using a file pattern and already at the project root.
Use markers.