Symbolic filetype dirent entries

Adds symbolic names to integer values found in d_type and changes all comparisons and assignments to use the symbolic versions.