Added Windows implementation of getFileInfo procedures
Added Posix implementation of getFileInfo, organized code.
Completed Linux/Posix implementation of getFileInfo

Moved parts of getFileInfo into a helper template.
Allowed getFileInfo to accept TFile objects.
Fixed _get_osfhandle declaration.
Added tests for getFileInfo proc.
Merge pull request #1099 from Varriount/os/getFileInfo

Added os.getFileInfo procedure.