inArray Utility method to avoid buggy in_array() and FolderLib/FileLib core enhancements