Added a directory finder plugin.

The plugin provides a function that takes various options and returns an appropriate DirectoryEntry.

Also added a test page.