Add directory item as request by issue #12
Add tests for item Directory

Related to issue #12.
import mode validator from directories item to files

since files and symlinks both depend on directories anyway, I don't see any harm in doing this

CC #12
add static dep on dirs to files

CC #12
Add documentation/reference for directory items

CC #12
Merge branch 'refs/heads/directory-item'

closes #12