Added an is_dir key to the info dictionary

This is a helpful optimisation that allows users to know if the items in the file listing are files or directories.
Switch path.walk() to use ilistdirinfo