Added .img file list creation script

Uses scandir() to get list of files in the imgroot folder and filters
out current directory (.) and parent directory (..) references and any
files not ending in .img