Added os.getFileInfo procedure.

Added a getFileInfo procedure to os.nim, along with relevant tests. The new procedure accepts paths, files, and file handles/descriptors, and returns an object containing file information common across all major platforms.