Added directory_entry::compatibility_maximum() to work around OpenVZ hang.

enumerate() can now be restarted.

Hang when using file_flags::FastDirectoryEnumeration fixed.

Hang when enumerate() was given maxitems=1 fixed.

Enumerate unit test now tests that enumeration fetched oneshot equals enumeration fetched as one's.