renamed listFiles() to getFolderContent(). fixed comment: the method doesn't return a "list of files in a directory, including dotfiles", it returns a "list of files and folders, excluding dotfiles". switched from !is_file() to is_dir() check.
Force all glob results to be realpath'd.
realpathGlob tweaks, refs #2932
Do not realpath ./.., refs #2932
Merge pull request #2949 from jakoch/patch-3

renamed listFiles() to getFolderContent(). fixed comment: the method doe...